From a304a715f922ed30f47d553e0d4d809e1e446317 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 20 Feb 2014 08:44:04 +0000 Subject: [PATCH] Support staging --- graphics/unpaper/Makefile | 13 ++++++------- 1 file 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