summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-08-30 14:38:11 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-08-30 14:38:11 +0000
commite72582bcad854272f211e0f91c33e989e4ff7690 (patch)
tree8f3a55b58dcd01be73764de6451585d08d756cc1 /sysutils
parent- update to 1.0 (diff)
- Convert to new options framework
- Remove ABI version from LIB_DEPENDS - Use bsd.port.options.mk Approved by: eadler, bapt (mentors, implicit)
Notes
Notes: svn path=/head/; revision=303376
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/graveman/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/sysutils/graveman/Makefile b/sysutils/graveman/Makefile
index 9c36a4db9ac6..0ad8b593ad88 100644
--- a/sysutils/graveman/Makefile
+++ b/sysutils/graveman/Makefile
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/-\1/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Another GTK2 frontend for cdrecord, mkisofs, readcd, and sox
-LIB_DEPENDS= mng.1:${PORTSDIR}/graphics/libmng
+LIB_DEPENDS= mng:${PORTSDIR}/graphics/libmng
USE_BZIP2= yes
USE_GMAKE= yes
@@ -29,29 +29,28 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
MAN1= graveman.1
-OPTIONS= MP3 "MP3 Support" off \
- OGG "OGG Support" off \
- DVD "DVD+RW Support" off
+OPTIONS_DEFINE= MP3 OGG DVD
+DVD_DESC= DVD+RW support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_MP3)
-LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad \
- id3tag.0:${PORTSDIR}/audio/libid3tag
+.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 defined(WITH_OGG)
+.if ${PORT_OPTIONS:MOGG}
LIB_DEPENDS+= ogg:${PORTSDIR}/audio/libogg \
- vorbis.4:${PORTSDIR}/audio/libvorbis
+ vorbis:${PORTSDIR}/audio/libvorbis
.else
CONFIGURE_ARGS+=--disable-ogg
.endif
-.if defined(WITH_DVD)
+.if ${PORT_OPTIONS:MDVD}
RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>