aboutsummaryrefslogtreecommitdiff
path: root/astro/planets
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-03 15:25:16 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-03 15:25:16 +0000
commit1afa140d23724dfb418f9a5f9f679ef058b86e29 (patch)
tree9e98737bc9c65b0875515b15b1a36e3052150a09 /astro/planets
parentd7d3d4d94fb193ab978b1381339c3da7cc5a43e2 (diff)
downloadports-1afa140d23724dfb418f9a5f9f679ef058b86e29.tar.gz
ports-1afa140d23724dfb418f9a5f9f679ef058b86e29.zip
Notes
Diffstat (limited to 'astro/planets')
-rw-r--r--astro/planets/Makefile8
-rw-r--r--astro/planets/pkg-plist5
2 files changed, 7 insertions, 6 deletions
diff --git a/astro/planets/Makefile b/astro/planets/Makefile
index 5dc7582666bb..7cdbdf70a531 100644
--- a/astro/planets/Makefile
+++ b/astro/planets/Makefile
@@ -20,15 +20,11 @@ ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= DOCS
-PORTDOCS= KEYBINDINGS.txt getting_started.html
-PLIST_FILES= bin/planets man/man1/planets.1.gz
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/planets.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/KEYBINDINGS.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/getting_started.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/astro/planets/pkg-plist b/astro/planets/pkg-plist
new file mode 100644
index 000000000000..9251ea31bf5d
--- /dev/null
+++ b/astro/planets/pkg-plist
@@ -0,0 +1,5 @@
+bin/planets
+man/man1/planets.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/KEYBINDINGS.txt
+%%PORTDOCS%%%%DOCSDIR%%/getting_started.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%