aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-11-14 09:23:48 +0800
committervanilla <vanilla@FreeBSD.org>2013-11-14 09:23:48 +0800
commita86a1be877491b8b9822b0796f9de04444558bac (patch)
tree92c7ab59aeef6df4f4cd3d00d49cd30768e0a5bb /sysutils
parentbceb6ff6f88a3bf72e572f04ce11be41ca9e273f (diff)
downloadfreebsd-ports-gnome-a86a1be877491b8b9822b0796f9de04444558bac.tar.gz
freebsd-ports-gnome-a86a1be877491b8b9822b0796f9de04444558bac.tar.zst
freebsd-ports-gnome-a86a1be877491b8b9822b0796f9de04444558bac.zip
1: Suppport STAGEDIR.
2: change to new LIB_DEPENDS format. 3: change to latest OPTIONS framework.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/graveman/Makefile39
-rw-r--r--sysutils/graveman/pkg-plist1
2 files changed, 12 insertions, 28 deletions
diff --git a/sysutils/graveman/Makefile b/sysutils/graveman/Makefile
index d3cda9be029b..c53c1e3c2b3c 100644
--- a/sysutils/graveman/Makefile
+++ b/sysutils/graveman/Makefile
@@ -11,43 +11,26 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/-\1/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Another GTK2 frontend for cdrecord, mkisofs, readcd, and sox
-LIB_DEPENDS= mng:${PORTSDIR}/graphics/libmng
+LIB_DEPENDS= libmng.so:${PORTSDIR}/graphics/libmng
BUILD_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
-RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_BZIP2= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
-USES= pathfix pkgconfig gettext
+USES= pathfix pkgconfig gettext gmake
USE_GNOME= libglade2 intlhack gnomeprefix
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
-MAN1= graveman.1
-
OPTIONS_DEFINE= MP3 OGG DVD
DVD_DESC= DVD+RW support
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMP3}
-LIB_DEPENDS+= mad:${PORTSDIR}/audio/libmad \
- id3tag:${PORTSDIR}/audio/libid3tag
-RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
-.else
-CONFIGURE_ARGS+=--disable-mp3
-.endif
-
-.if ${PORT_OPTIONS:MOGG}
-LIB_DEPENDS+= ogg:${PORTSDIR}/audio/libogg \
- vorbis:${PORTSDIR}/audio/libvorbis
-.else
-CONFIGURE_ARGS+=--disable-ogg
-.endif
-
-.if ${PORT_OPTIONS:MDVD}
-RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
-.endif
+MP3_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \
+ libid3tag.so:${PORTSDIR}/audio/libid3tag
+MP3_RUN_DEPENDS= sox:${PORTSDIR}/audio/sox
+MP3_CONFIGURE_OFF= --disable-mp3
+OGG_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis
+OGG_CONFIGURE_OFF= --disable-ogg
+DVD_RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
.include <bsd.port.mk>
diff --git a/sysutils/graveman/pkg-plist b/sysutils/graveman/pkg-plist
index 97c816111e1a..17a0a04b919d 100644
--- a/sysutils/graveman/pkg-plist
+++ b/sysutils/graveman/pkg-plist
@@ -1,4 +1,5 @@
bin/graveman
+man/man1/graveman.1.gz
share/applications/graveman.desktop
share/pixmaps/graveman48.png
share/graveman/dialog-question3.png