summaryrefslogtreecommitdiff
path: root/games/tscp/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 06:59:03 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 06:59:03 +0000
commit0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch)
tree85dcef76c01a75047f6f6e519e34539fa17ae348 /games/tscp/Makefile
parent4e56d99acab2b215405ccc900e56d697c30ae727 (diff)
downloadpkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/tscp/Makefile')
-rw-r--r--games/tscp/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/tscp/Makefile b/games/tscp/Makefile
index 49f066d8a96..b2d0ce35ea8 100644
--- a/games/tscp/Makefile
+++ b/games/tscp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/03/26 06:15:27 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/04 06:59:06 jlam Exp $
#
DISTNAME= tscp181
@@ -12,21 +12,21 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://home.comcast.net/~tckerrigan/
COMMENT= Tom Kerrigan's Simple Chess Program
-
-RESTRICTED= No distribution without authorisation from Tom Kerrigan
+RESTRICTED= No distribution without authorisation from Tom Kerrigan
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} ; ${CC} ${CFLAGS} ${LDFLAGS} -o tscp *.c -lcompat
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tscp ${PREFIX}/bin/tscp
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/tscp.txt
+ ${INSTALL_PROGRAM} ${WRKSRC}/tscp ${DESTDIR}${PREFIX}/bin/tscp
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/tscp.txt
.include "../../mk/bsd.pkg.mk"