aboutsummaryrefslogtreecommitdiffstats
path: root/games/tractorgen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/tractorgen/Makefile')
-rw-r--r--games/tractorgen/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/tractorgen/Makefile b/games/tractorgen/Makefile
index 3d242be8b96a..1d8e9975f7a0 100644
--- a/games/tractorgen/Makefile
+++ b/games/tractorgen/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tractorgen
PORTVERSION= 0.31.7
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.vergenet.net/~conrad/software/tractorgen/dl/
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,4 +17,17 @@ COMMENT= Generates ASCII tractors
USE_LIBTOOL= yes
+MAN6= tractorgen.6
+
+post-install:
+ ${INSTALL_MAN} ${FILESDIR}/tractorgen.6 ${PREFIX}/man/man6/tractorgen.6
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>