summaryrefslogtreecommitdiff
path: root/x11/gromit
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gromit')
-rw-r--r--x11/gromit/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/gromit/Makefile b/x11/gromit/Makefile
index f7a076f106d..306b4c9afd8 100644
--- a/x11/gromit/Makefile
+++ b/x11/gromit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/01/13 18:26:29 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 18:24:42 joerg Exp $
#
DISTNAME= gromit-20041213
@@ -10,15 +10,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.home.unix-ag.org/simon/gromit/
COMMENT= Text marker tool for the X11 screen
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
LDFLAGS+= ${X11_LDFLAGS} -lX11
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gromit ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gromit
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gromit
+ ${INSTALL_PROGRAM} ${WRKSRC}/gromit ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gromit
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/gromit
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"