aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libgnomecanvas/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgnomecanvas/Makefile')
-rw-r--r--graphics/libgnomecanvas/Makefile52
1 files changed, 26 insertions, 26 deletions
diff --git a/graphics/libgnomecanvas/Makefile b/graphics/libgnomecanvas/Makefile
index 5158620ac64b..6949030c5a17 100644
--- a/graphics/libgnomecanvas/Makefile
+++ b/graphics/libgnomecanvas/Makefile
@@ -5,30 +5,30 @@
# $FreeBSD$
#
-PORTNAME= gnomecanvas
+PORTNAME= libgnomecanvas
+PORTVERSION= 1.110.0
CATEGORIES= graphics gnome
-
-LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
-
-MASTERDIR= ${.CURDIR}/../gdk-pixbuf
-
-COMMENT= ${.CURDIR}/pkg-comment
-DESCR= ${.CURDIR}/pkg-descr
-PLIST= ${.CURDIR}/pkg-plist
-
-USE_GNOMELIBS= yes
-
-BUILD_CANVAS= yes
-
-NAME= gnomecanvaspixbuf
-
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/${NAME}Conf.sh ${PREFIX}/etc
- cd ${WRKSRC}/gdk-pixbuf/.libs && \
- ${MKDIR} ${PREFIX}/include/gdk-pixbuf-1.0/gdk-pixbuf && \
- ${INSTALL_DATA} ../gnome-canvas-pixbuf.h ${PREFIX}/include/gdk-pixbuf-1.0/gdk-pixbuf && \
- ${INSTALL_DATA} lib${NAME}.a ${PREFIX}/lib && \
- ${INSTALL_PROGRAM} lib${NAME}.so.1 ${PREFIX}/lib && \
- ${LN} -sf lib${NAME}.so.1 ${PREFIX}/lib/lib${NAME}.so
-
-.include "${MASTERDIR}/Makefile"
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-alpha2
+DIST_SUBDIR= gnome2
+
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+LIB_DEPENDS= glade-2.0.0:${PORTSDIR}/devel/libglade2 \
+ art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+pre-patch:
+ @find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
+ 's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
+
+.include <bsd.port.mk>