aboutsummaryrefslogtreecommitdiffstats
path: root/print/libgnomeprint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/libgnomeprint/Makefile')
-rw-r--r--print/libgnomeprint/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
index 903e98eadb51..71c92a7ab125 100644
--- a/print/libgnomeprint/Makefile
+++ b/print/libgnomeprint/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= libgnomeprint
-PORTVERSION= 1.115.0
+PORTVERSION= 1.116.0
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= 2.0.0/releases/gnome-2.0-desktop-final
+MASTER_SITE_SUBDIR= 2.0.0/sources/${PORTNAME}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
@@ -22,24 +22,19 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-html-dir=${PREFIX}/share/doc \
- --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
's|<malloc[.]h>|<stdlib.h>|'
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/locale|(prefix)/share/locale|g ; \
- s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
post-install:
@${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts