diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-30 10:43:22 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-30 10:43:22 +0800 |
commit | 118a961c1191ef17f04a24ec3848637ef0c000bb (patch) | |
tree | b4910089a19a86f90351abe87d48920d56af6a02 /multimedia/ogle-gui/Makefile | |
parent | 052957879ad3176bb958edf81697df5bd9b3d1fa (diff) | |
download | marcuscom-ports-118a961c1191ef17f04a24ec3848637ef0c000bb.tar marcuscom-ports-118a961c1191ef17f04a24ec3848637ef0c000bb.tar.gz marcuscom-ports-118a961c1191ef17f04a24ec3848637ef0c000bb.tar.bz2 marcuscom-ports-118a961c1191ef17f04a24ec3848637ef0c000bb.tar.lz marcuscom-ports-118a961c1191ef17f04a24ec3848637ef0c000bb.tar.xz marcuscom-ports-118a961c1191ef17f04a24ec3848637ef0c000bb.tar.zst marcuscom-ports-118a961c1191ef17f04a24ec3848637ef0c000bb.zip |
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8937 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/ogle-gui/Makefile')
-rw-r--r-- | multimedia/ogle-gui/Makefile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/multimedia/ogle-gui/Makefile b/multimedia/ogle-gui/Makefile new file mode 100644 index 000000000..11f4a3f00 --- /dev/null +++ b/multimedia/ogle-gui/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: ogle +# Date created: Tue Oct 16 18:35:39 BRST 2001 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ogle +PORTVERSION= 0.9.2 +PORTREVISION= 9 +CATEGORIES= multimedia gnome +MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/ +PKGNAMESUFFIX= -gui +DISTNAME= ${PORTNAME}_gui-${PORTVERSION} + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= An add-on graphical user interface for Ogle + +BUILD_DEPENDS= ${LOCALBASE}/lib/ogle/libdvdcontrol.so.11:${PORTSDIR}/multimedia/ogle +LIB_DEPENDS= glade-2.0:${PORTSDIR}/devel/libglade2 \ + xml2.5:${PORTSDIR}/textproc/libxml2 +RUN_DEPENDS= ogle:${PORTSDIR}/multimedia/ogle + +USE_GETTEXT= yes +USE_XLIB= yes +USE_GNOME= gnomehack \ + gnomehier \ + gnomeprefix \ + gtk20 +WANT_GNOME= yes +USE_XPM= yes +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_ARGS= --with-dvd-includes=${LOCALBASE}/include \ + --with-dvdcontrol=${LOCALBASE} \ + --without-included-gettext \ + --enable-gtk2 \ + --with-gtk-prefix=${LOCALBASE} \ + --with-libiconv-prefix=${LOCALBASE} \ + --with-libintl-prefix=${LOCALBASE} \ + --with-xml-prefix=${LOCALBASE} + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibcapplet}!="" +USE_GNOME+= libcapplet +PKGNAMESUFFIX= -gnome +.endif + +PLIST_SUB= SHARE_DATADIR="${SHARE_DATADIR}" + +post-patch: +# fix library version + @${REINPLACE_CMD} -E -e "s|(libglade\.so)\.0|\1.4|; \ + s|%%LOCALBASE%%|${LOCALBASE}|" \ + ${CONFIGURE_WRKSRC}/configure +# correct path for program data files + @${REINPLACE_CMD} -E -e \ + 's!(CONFIG_FILE[[:space:]]*=[^"]+\")[^/]+/!\1${LOCALBASE}/share/!; \ + s!(CONFIG_FILE_DTD[[:space:]]*=[^"]+\")[^/]+/!\1${LOCALBASE}/share/!' \ + ${WRKSRC}/src/Makefile.in + +.include <bsd.port.post.mk> |