diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2003-05-18 16:03:16 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2003-05-18 16:03:16 +0000 |
commit | a7ebc6b6af894137049859619789b9d49f53d4cd (patch) | |
tree | 42e9a6c65cd630a24f1cd0be259f77c000ddc941 /print/pnm2ppa | |
parent | c9a0322c4242d5c2b51e17bdebe27bc3191f83de (diff) | |
download | ports-a7ebc6b6af894137049859619789b9d49f53d4cd.tar.gz ports-a7ebc6b6af894137049859619789b9d49f53d4cd.zip |
Notes
Diffstat (limited to 'print/pnm2ppa')
-rw-r--r-- | print/pnm2ppa/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile index f307df4608e1..87935e27bfdd 100644 --- a/print/pnm2ppa/Makefile +++ b/print/pnm2ppa/Makefile @@ -17,16 +17,12 @@ COMMENT= Convert PNM images to PPA for some HP printers RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \ enscript:${PORTSDIR}/print/enscript-letter +USE_GETOPT_LONG= yes MAKE_ENV= LDFLAGS="${LDFLAGS}" +CFLAGS+= ${CPPFLAGS} MAN1= pnm2ppa.1 -.if !exists(/usr/include/getopt.h) -LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt -.endif - post-patch: @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ ${WRKSRC}/pnm2ppa.conf > ${WRKSRC}/pnm2ppa.conf.sample |