freebsd-ports/sysutils/graveman/Makefile
Baptiste Daroussin dba80fffe4 Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.

While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext
2013-04-26 12:35:50 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Anton Karpov <toxa@toxahost.ru>
# $FreeBSD$
PORTNAME= graveman
PORTVERSION= 0.3.12.5
PORTREVISION= 10
CATEGORIES= sysutils
MASTER_SITES= http://graveman.tuxfamily.org/sources/
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
BUILD_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USES= pathfix pkgconfig gettext
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
.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
.include <bsd.port.mk>