summaryrefslogtreecommitdiffstats
path: root/sysutils/gnomebaker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnomebaker/Makefile')
-rw-r--r--sysutils/gnomebaker/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/gnomebaker/Makefile b/sysutils/gnomebaker/Makefile
new file mode 100644
index 000000000..a9cd9023c
--- /dev/null
+++ b/sysutils/gnomebaker/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: gnomebaker
+# Date created: 2005-02-20
+# Whom: Dominique Goncalves <dominique.goncalves@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= gnomebaker
+PORTVERSION= 0.5.1
+PORTREVISION= 1
+CATEGORIES= sysutils gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gnomebaker
+DIST_SUBDIR= gnome2
+
+MAINTAINER= dominique.goncalves@gmail.com
+COMMENT= A CD/DVD recording GUI for Gnome
+
+OPTIONS= DVD "Enable DVD support" off \
+ CJK "Use cdrtools-cjk instead of cdrtools" off
+
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeui desktopfileutils
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+INSTALLS_OMF= yes
+USE_GCC= 3.4+
+USE_GETTEXT= yes
+USE_GSTREAMER80= vorbis mad flac
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+RUN_DEPENDS+= cdrdao:${PORTSDIR}/sysutils/cdrdao
+
+.if defined(WITH_CJK)
+RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools-cjk
+.else
+RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools
+.endif
+
+.if defined(WITH_DVD)
+RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|docdir = $(datadir)/gnome/help/$(docname)/$(lang)|docdir = $(datadir)/help/$(docname)/$(lang)|' \
+ ${WRKSRC}/help/C/Makefile.in
+ @${REINPLACE_CMD} -e 's|Icon=@prefix@/share/gnomebaker/gnomebaker-48.png|Icon=@prefix@/share/gnome/gnomebaker/gnomebaker-48.png|' \
+ ${WRKSRC}/gnomebaker.desktop.in
+
+post-install:
+ @-update-desktop-database
+
+.include <bsd.port.post.mk>