aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/jpg2pdf/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/jpg2pdf/Makefile b/graphics/jpg2pdf/Makefile
index fe7eabe884e6..68b12c0adab0 100644
--- a/graphics/jpg2pdf/Makefile
+++ b/graphics/jpg2pdf/Makefile
@@ -11,17 +11,15 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Plain C converter of jpeg images to PDF or PostScript
-MAN1= jpg2pdf.1
-PLIST_FILES= bin/jpg2pdf
+PLIST_FILES= bin/jpg2pdf man/man1/jpg2pdf.1.gz
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c )
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>