summaryrefslogtreecommitdiff
path: root/misc/autocue
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2007-08-20 21:42:26 +0000
committeragc <agc@pkgsrc.org>2007-08-20 21:42:26 +0000
commit446a0e15d2205d30bd9c9c8c7aea9e96985f4b32 (patch)
tree2059401e9300384f7362345071e501d2f5b877a1 /misc/autocue
parent9751f469ed32676c1b3a09189e5e4e8320d9ac91 (diff)
downloadpkgsrc-446a0e15d2205d30bd9c9c8c7aea9e96985f4b32.tar.gz
Add DESTDIR support
Diffstat (limited to 'misc/autocue')
-rw-r--r--misc/autocue/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/autocue/Makefile b/misc/autocue/Makefile
index 37f625502e3..ee084e989d3 100644
--- a/misc/autocue/Makefile
+++ b/misc/autocue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/02/24 12:16:12 agc Exp $
+# $NetBSD: Makefile,v 1.6 2007/08/20 21:42:26 agc Exp $
#
DISTNAME= autocue-20070224
@@ -12,11 +12,15 @@ COMMENT= Time-based text formatter, sending output to xcb for pasting
DEPENDS+= xcb-[0-9]*:../../x11/xcb
+PKG_DESTDIR_SUPPORT= user-destdir
+
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/autocue ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/autocue.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/autocue ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/autocue.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"