File:
[cvs.NetBSD.org] /
pkgsrc /
games /
sarien /
Makefile
Revision
1.18:
download - view:
text,
annotated -
select for diffs
Tue Mar 4 06:59:05 2008 UTC (16 years, 9 months ago) by
jlam
Branches:
MAIN
CVS tags:
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.18 2008/03/04 06:59:05 jlam Exp $
#
DISTNAME= sarien-0.7.0
PKGREVISION= 7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sarien/}
MAINTAINER= mor@linex.com
HOMEPAGE= http://sarien.sourceforge.net/
COMMENT= Adventure Game Interpreter (AGI) for Sierra On-Line Titles
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
CONFIGURE_ARGS+= --with-sdl
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
EGDIR= ${PREFIX}/share/examples/sarien
CONF_FILES= ${EGDIR}/sarien.conf ${PKG_SYSCONFDIR}/sarien.conf
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/sarien ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sarien
${INSTALL_DATA} ${WRKSRC}/doc/README* ${DESTDIR}${PREFIX}/share/doc/sarien
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/etc/sarien.cfg ${DESTDIR}${EGDIR}/sarien.conf
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>