aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 21:04:19 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 21:04:19 +0800
commit3c1433cdc23fc450de3ed2643a90107d0a127453 (patch)
tree903817acf45b1413016c1550df3b22ed178bd6ad
parentb48a5164cc85939ede32eb95732885121a29ee6f (diff)
downloadfreebsd-ports-gnome-3c1433cdc23fc450de3ed2643a90107d0a127453.tar.gz
freebsd-ports-gnome-3c1433cdc23fc450de3ed2643a90107d0a127453.tar.zst
freebsd-ports-gnome-3c1433cdc23fc450de3ed2643a90107d0a127453.zip
Support staging
-rw-r--r--misc/ringtonetools/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/misc/ringtonetools/Makefile b/misc/ringtonetools/Makefile
index 562267dfa3f2..8c2b78b8128c 100644
--- a/misc/ringtonetools/Makefile
+++ b/misc/ringtonetools/Makefile
@@ -13,9 +13,7 @@ RESTRICTED= no-commercial-use
MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}"
-NO_STAGE= yes
-
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@@ -24,14 +22,12 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ringtonetools ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/ringtonetools ${STAGEDIR}${PREFIX}/bin
.for i in face.txt hemglass.mid ionian.rtttl usa.emelody yngwie_trilogy.rtttl
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/${i} ${STAGEDIR}${DATADIR}
.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>