pkgsrc/games/freeciv-manual/Makefile
jlam 0c6a3253fe Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 06:59:03 +00:00

25 lines
688 B
Makefile

# $NetBSD: Makefile,v 1.13 2008/03/04 06:59:04 jlam Exp $
#
DISTNAME= manual-1.8.1-2
PKGNAME= freeciv-manual-1.8.1.2
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)
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/manual
NO_BUILD= YES
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/freeciv/img
cd ${WRKSRC} && \
${INSTALL_DATA} *.html ${DESTDIR}${PREFIX}/share/doc/html/freeciv
cd ${WRKSRC}/img && \
${INSTALL_DATA} *.jpg ${DESTDIR}${PREFIX}/share/doc/html/freeciv/img
.include "../../mk/bsd.pkg.mk"