summaryrefslogtreecommitdiff
path: root/graphics/gimp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp/Makefile')
-rw-r--r--graphics/gimp/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile
index 1477b4d044d..960d60637e5 100644
--- a/graphics/gimp/Makefile
+++ b/graphics/gimp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 1999/10/08 21:12:48 jlam Exp $
+# $NetBSD: Makefile,v 1.42 1999/10/22 23:57:52 tron Exp $
DISTNAME= gimp-1.0.4
CATEGORIES= graphics
@@ -13,7 +13,7 @@ MAINTAINER= bsieker@techfak.uni-bielefeld.de
HOMEPAGE= http://www.gimp.org/
DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= gtk+-1.2.4:../../x11/gtk
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= mpeg-1.2.1:../../graphics/mpeg-lib
DEPENDS+= png-1.0.3:../../graphics/png
DEPENDS+= tiff-*:../../graphics/tiff
@@ -28,13 +28,15 @@ USE_X11BASE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
INFO_FILES= pdb.info
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+PLIST_SUBST+= LOCALBASE=${LOCALBASE}
+
post-configure:
@${ECHO_MSG} "--> now configuring in ${GIMP_DATA}"
@(cd ${WRKDIR}/${GIMP_DATA} && ${SETENV} ${CONFIGURE_ENV} \
@@ -52,5 +54,8 @@ post-install:
@(cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET})
@(cd ${WRKDIR}/${GIMP_DATA} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET})
+ ${TEST} ${PREFIX} = ${LOCALBASE} || \
+ ${LN} -fs ${PREFIX}/share/aclocal/gimp.m4 \
+ ${LOCALBASE}/share/aclocal/gimp.m4
.include "../../mk/bsd.pkg.mk"