aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/unpaper/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/unpaper/Makefile b/graphics/unpaper/Makefile
index 1ea4c1c5fa11..d89bc03bf0c3 100644
--- a/graphics/unpaper/Makefile
+++ b/graphics/unpaper/Makefile
@@ -9,17 +9,16 @@ MASTER_SITES= CENKES BERLIOS
MAINTAINER= ports@FreeBSD.org
COMMENT= Post-processing tool for scanned sheets of paper
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-build:
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} \
${WRKSRC}/src/${PORTNAME}.c -lm
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.ifndef NOPORTDOCS
- @${INSTALL} -d ${DOCSDIR}/
- @cd ${WRKSRC}/&&${INSTALL_DATA} CHANGELOG README ${DOCSDIR}/
- @cd ${WRKSRC}/doc/&&${COPYTREE_SHARE} . ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>