aboutsummaryrefslogtreecommitdiff
path: root/sysutils/graveman
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-14 01:23:48 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-14 01:23:48 +0000
commit31602d201137d69d833b9a1b96f567d47822c310 (patch)
tree92c7ab59aeef6df4f4cd3d00d49cd30768e0a5bb /sysutils/graveman
parenteba7d8f6c33245c86f162cb39c4c2a77c960dd3a (diff)
downloadports-31602d201137d69d833b9a1b96f567d47822c310.tar.gz
ports-31602d201137d69d833b9a1b96f567d47822c310.zip
1: Suppport STAGEDIR.
2: change to new LIB_DEPENDS format. 3: change to latest OPTIONS framework.
Notes
Notes: svn path=/head/; revision=333735
Diffstat (limited to 'sysutils/graveman')
-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