File:
[cvs.NetBSD.org] /
pkgsrc /
games /
dipmap /
Makefile
Revision
1.8:
download - view:
text,
annotated -
select for diffs
Tue Mar 4 06:59:03 2008 UTC (16 years, 9 months ago) by
jlam
Branches:
MAIN
CVS tags:
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
cwrapper,
cube-native-xorg-base,
cube-native-xorg,
HEAD
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
# $NetBSD: Makefile,v 1.8 2008/03/04 06:59:03 jlam Exp $
DISTNAME= mapit.v1-16
PKGNAME= dipmap-1.16
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.ugcs.caltech.edu/pub/diplomacy/Sources/
EXTRACT_SUFX= .tar.Z
MAINTAINER= njohnston@globaltetrahedron.com
HOMEPAGE= http://www.diplom.org/Online/mapsoftware.html
COMMENT= Generate postscript maps from results of play-by-email Diplomacy games
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FILE= makefile
USE_TOOLS+= csh:run
WRKSRC= ${WRKDIR}/mapit
INSTALLATION_DIRS= bin libexec
REPLACE_INTERPRETER+= csh
REPLACE.csh.old= /bin/csh
REPLACE.csh.new= ${CSH}
REPLACE_FILES.csh= dipmap
post-patch:
${SED} "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/dipmap > ${WRKSRC}/dipmap.new
${MV} ${WRKSRC}/dipmap.new ${WRKSRC}/dipmap
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dipmap ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/mapit
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mapit
${INSTALL_PROGRAM} ${WRKSRC}/mapit ${DESTDIR}${PREFIX}/libexec
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/mapit
${INSTALL_DATA} ${WRKSRC}/README.maps ${DESTDIR}${PREFIX}/share/doc/mapit
${INSTALL_DATA} ${WRKSRC}/*.ps ${DESTDIR}${PREFIX}/share/mapit
${INSTALL_DATA} ${WRKSRC}/*.info ${DESTDIR}${PREFIX}/share/mapit
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>