summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorobache <obache>2011-03-14 06:34:37 +0000
committerobache <obache>2011-03-14 06:34:37 +0000
commit0ce63f8d0488fcc1777418b79954bce894d0b1f0 (patch)
treeb324bc1429aaddac6042eaf13ece94925de6165b /x11
parent39643e4264407c89c299f18d21f5cbdc3517fad5 (diff)
downloadpkgsrc-0ce63f8d0488fcc1777418b79954bce894d0b1f0.tar.gz
* Marked as user-destdir ready
* Do usual things instead of custom do-build target.
Diffstat (limited to 'x11')
-rw-r--r--x11/egtk/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/egtk/Makefile b/x11/egtk/Makefile
index 25951be512f..b94124e706d 100644
--- a/x11/egtk/Makefile
+++ b/x11/egtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2009/12/23 19:25:22 abs Exp $
+# $NetBSD: Makefile,v 1.30 2011/03/14 06:34:37 obache Exp $
#
DISTNAME= eGTK_0.3.4
@@ -13,10 +13,15 @@ COMMENT= Eiffel/GTK+ interface for SmallEiffel
DEPENDS+= SmartEiffel-[0-9]*:../../lang/SmartEiffel
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= pax
WRKSRC= ${WRKDIR}/eGTK
+BUILD_DIRS= C/se
+MAKE_FILE= Makefile.se
+
INSTALLATION_DIRS+= bin lib ${PKGMANDIR}/man1
INSTALLATION_DIRS+= share/egtk/se share/examples/egtk
@@ -40,9 +45,6 @@ do-configure:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
${FILESDIR}/loadpath.se.in > ${WRKDIR}/loadpath.se
-do-build:
- cd ${WRKSRC}/C/se && ${MAKE_PROGRAM} ${MAKE_FLAGS} -f Makefile.se
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/egtkbuild ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/man/egtkbuild.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1