summaryrefslogtreecommitdiff
path: root/games/tscp/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 06:59:03 +0000
committerjlam <jlam>2008-03-04 06:59:03 +0000
commit769a84077c1badca9f84e031b0acccd322865a99 (patch)
tree85dcef76c01a75047f6f6e519e34539fa17ae348 /games/tscp/Makefile
parent7b123f326cdc00a4b734669b2ce16963198987ed (diff)
downloadpkgsrc-769a84077c1badca9f84e031b0acccd322865a99.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"