summaryrefslogtreecommitdiff
path: root/x11/egtk
diff options
context:
space:
mode:
authorobache <obache>2011-03-14 06:34:37 +0000
committerobache <obache>2011-03-14 06:34:37 +0000
commit23897779321358be1efbb16f02b8f1c447425732 (patch)
treeb324bc1429aaddac6042eaf13ece94925de6165b /x11/egtk
parent576ea856ff55a80ce9e988c9aa0919d034672c52 (diff)
downloadpkgsrc-23897779321358be1efbb16f02b8f1c447425732.tar.gz
* Marked as user-destdir ready
* Do usual things instead of custom do-build target.
Diffstat (limited to 'x11/egtk')
-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