aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-20 16:44:04 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-20 16:44:04 +0800
commit186a5f72eff0e96697de92afab91435ef6d3f870 (patch)
tree107afa162b8cbb3ed63fd25e0e4d5bd890636628 /graphics
parent9a5f7ddd519b1a86aede119c005ed04d3dd36a21 (diff)
downloadfreebsd-ports-gnome-186a5f72eff0e96697de92afab91435ef6d3f870.tar.gz
freebsd-ports-gnome-186a5f72eff0e96697de92afab91435ef6d3f870.tar.zst
freebsd-ports-gnome-186a5f72eff0e96697de92afab91435ef6d3f870.zip
Support staging
Diffstat (limited to 'graphics')
-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>