aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 14:48:29 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 14:48:29 +0000
commit4583c2033360f0f4d67019926b414b3f386f5793 (patch)
tree016c8cb9dc10fa347cedcf1e4735a510c81a770c
parentf27c3feedec893775f26223ed02b531a9c55a7c9 (diff)
downloadports-4583c2033360f0f4d67019926b414b3f386f5793.tar.gz
ports-4583c2033360f0f4d67019926b414b3f386f5793.zip
Notes
-rw-r--r--graphics/jpeg2ps/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/jpeg2ps/Makefile b/graphics/jpeg2ps/Makefile
index 4f7e939db751..71620e03e782 100644
--- a/graphics/jpeg2ps/Makefile
+++ b/graphics/jpeg2ps/Makefile
@@ -10,28 +10,21 @@ MASTER_SITES= http://www.pdflib.com/fileadmin/pdflib/products/more/jpeg2ps/
MAINTAINER= hrs@FreeBSD.org
COMMENT= Converter for JPEG compressed images to PostScript Level 2
-LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper
+LIB_DEPENDS= libpaper.so:${PORTSDIR}/print/libpaper
OPTIONS_DEFINE= DOCS
CFLAGS= -DLIBPAPER -I${LOCALBASE}/include
LDADD= -lm -lpaper -L${LOCALBASE}/lib
MAKE_ARGS= LDADD="${LDADD}"
-MAN1= jpeg2ps.1
-PLIST_FILES= bin/jpeg2ps
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+PLIST_FILES= bin/jpeg2ps man/man1/jpeg2ps.1.gz
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= jpeg2ps.txt
-.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>