openbsd-ports/print/libpaper/Makefile
2012-04-30 19:22:08 +00:00

36 lines
714 B
Makefile

# $OpenBSD: Makefile,v 1.6 2012/04/30 19:22:08 jasper Exp $
COMMENT= library for handling paper characteristics
V= 1.1.24
DISTNAME= libpaper_${V}
PKGNAME= libpaper-${V}
SHARED_LIBS+= paper 0.0 # .2.2
CATEGORIES= print
HOMEPAGE= http://packages.debian.org/unstable/source/libpaper
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_DEBIAN:=main/libp/libpaper/}
WRKDIST= ${WRKDIR}/libpaper-${V}
WANTLIB= c
USE_LIBTOOL= Yes
USE_GMAKE= Yes
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
pre-configure:
@perl -pi -e 's,/bin/bash,/bin/sh,g' ${WRKSRC}/src/paperconfig.in
.include <bsd.port.mk>