summaryrefslogtreecommitdiff
path: root/games/freeciv-manual/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeciv-manual/Makefile')
-rw-r--r--games/freeciv-manual/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/freeciv-manual/Makefile b/games/freeciv-manual/Makefile
index 2baf95cacc2..a6a1c3c4c62 100644
--- a/games/freeciv-manual/Makefile
+++ b/games/freeciv-manual/Makefile
@@ -1,23 +1,24 @@
-# $NetBSD: Makefile,v 1.14 2012/10/06 11:54:38 asau Exp $
+# $NetBSD: Makefile,v 1.15 2018/01/01 23:12:09 rillig Exp $
#
DISTNAME= manual-1.8.1-2
PKGNAME= freeciv-manual-1.8.1.2
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.freeciv.org/ftp/contrib/manual/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freeciv.org/
-COMMENT= Manuals for freeciv (game, client, and server)
+COMMENT= Manuals for old Freeciv version (game, client, and server)
WRKSRC= ${WRKDIR}/manual
-NO_BUILD= YES
+NO_BUILD= yes
+AUTO_MKDIRS= yes
do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/freeciv/img
cd ${WRKSRC} && \
- ${INSTALL_DATA} *.html ${DESTDIR}${PREFIX}/share/doc/html/freeciv
+ ${INSTALL_DATA} *.html ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
cd ${WRKSRC}/img && \
- ${INSTALL_DATA} *.jpg ${DESTDIR}${PREFIX}/share/doc/html/freeciv/img
+ ${INSTALL_DATA} *.jpg ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/img
.include "../../mk/bsd.pkg.mk"