aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dolly
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-09 03:12:42 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-09 03:12:42 +0000
commit5ea91c191b6ae21587736ca368051ab7bd2c13c7 (patch)
treec292af95287e2711e1461d030a8aa467a4f6606c /sysutils/dolly
parent92293ce61695dfe9980e1045540092729c2a631f (diff)
downloadports-5ea91c191b6ae21587736ca368051ab7bd2c13c7.tar.gz
ports-5ea91c191b6ae21587736ca368051ab7bd2c13c7.zip
Notes
Diffstat (limited to 'sysutils/dolly')
-rw-r--r--sysutils/dolly/Makefile12
-rw-r--r--sysutils/dolly/pkg-plist3
2 files changed, 8 insertions, 7 deletions
diff --git a/sysutils/dolly/Makefile b/sysutils/dolly/Makefile
index ed30979a919c..39776eda8d27 100644
--- a/sysutils/dolly/Makefile
+++ b/sysutils/dolly/Makefile
@@ -15,10 +15,8 @@ OPTIONS_DEFAULT= BZIP2 HIGHEST_COMPRESSION
BZIP2_DESC= bzip2 instead of gzip for compressing
HIGHEST_COMPRESSION_DESC= Highest rather than fastest compression
-PLIST_FILES= bin/${PORTNAME}
-PORTDOCS= README
+DOCS= README
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-configure:
# C{C,FLAGS} safeness
@@ -29,12 +27,12 @@ do-configure:
do-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
-. for _file in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${_file} ${DOCSDIR}/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+. for _file in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}/
. endfor
.endif
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
# Correctly depend upon bzip2 if necessary
.if ${PORT_OPTIONS:MBZIP2}
diff --git a/sysutils/dolly/pkg-plist b/sysutils/dolly/pkg-plist
new file mode 100644
index 000000000000..3c6f319c7a7b
--- /dev/null
+++ b/sysutils/dolly/pkg-plist
@@ -0,0 +1,3 @@
+bin/dolly
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%