2013-03-14 09:17:39 +01:00
|
|
|
# Created by: Michael Johnson <ahze@ahze.net>
|
2004-08-20 18:50:14 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dvdstyler
|
2014-09-26 22:21:09 +02:00
|
|
|
PORTVERSION= 2.8
|
2015-01-20 13:36:35 +01:00
|
|
|
PORTREVISION= 3
|
2005-05-20 14:32:51 +02:00
|
|
|
PORTEPOCH= 2
|
2004-08-20 18:50:14 +02:00
|
|
|
CATEGORIES= multimedia
|
2013-03-27 07:20:07 +01:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= DVDStyler-${PORTVERSION}
|
2004-08-20 18:50:14 +02:00
|
|
|
|
2006-06-09 20:00:35 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2013-03-27 07:20:07 +01:00
|
|
|
COMMENT= WxWidgets frontend to dvd recoding and authoring programs
|
2004-08-20 18:50:14 +02:00
|
|
|
|
2011-04-12 13:46:57 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-05-15 10:16:10 +02:00
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
2014-01-17 17:52:55 +01:00
|
|
|
wxsvg>=1.2:${PORTSDIR}/graphics/wxsvg \
|
2013-03-27 07:20:07 +01:00
|
|
|
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
2007-06-02 02:55:31 +02:00
|
|
|
mplex:${PORTSDIR}/multimedia/mjpegtools \
|
2010-08-15 21:39:34 +02:00
|
|
|
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
|
2014-02-19 15:45:19 +01:00
|
|
|
docbook-xml>=4.1.2:${PORTSDIR}/textproc/docbook-xml \
|
2013-10-21 19:30:54 +02:00
|
|
|
xmlto:${PORTSDIR}/textproc/xmlto
|
|
|
|
LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \
|
|
|
|
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
|
2013-05-15 10:16:10 +02:00
|
|
|
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
2014-01-17 17:52:55 +01:00
|
|
|
wxsvg>=1.2:${PORTSDIR}/graphics/wxsvg \
|
2013-03-27 07:20:07 +01:00
|
|
|
dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
|
2007-06-02 02:55:31 +02:00
|
|
|
mplex:${PORTSDIR}/multimedia/mjpegtools \
|
2013-05-15 10:16:10 +02:00
|
|
|
mkisofs:${PORTSDIR}/sysutils/cdrtools \
|
|
|
|
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
|
2013-03-27 07:20:07 +01:00
|
|
|
|
2014-03-24 16:53:25 +01:00
|
|
|
USES= gettext gmake pkgconfig tar:bzip2
|
|
|
|
USE_WX= 3.0
|
|
|
|
WX_UNICODE= yes
|
2007-06-02 02:55:31 +02:00
|
|
|
WX_CONF_ARGS= absolute
|
2014-01-17 17:52:55 +01:00
|
|
|
USE_AUTOTOOLS= aclocal automake autoconf
|
|
|
|
ACLOCAL_ARGS= -I ${WRKSRC}
|
|
|
|
AUTOMAKE_ARGS= --add-missing --copy --force-missing --foreign
|
2014-09-26 22:21:09 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_path_AVCONV_PATH=""
|
2013-03-27 07:20:07 +01:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
2014-01-17 17:52:55 +01:00
|
|
|
OPTIONS_DEFINE= DOCS GNOME
|
2004-08-20 18:50:14 +02:00
|
|
|
|
2014-01-17 17:52:55 +01:00
|
|
|
GNOME_USE= GNOME=libgnomeui
|
|
|
|
GNOME_CONFIGURE_WITH= gnome
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2005-05-21 22:06:40 +02:00
|
|
|
|
2004-08-20 18:50:14 +02:00
|
|
|
.if defined(WITH_DVD_DEVICE)
|
|
|
|
DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
|
|
|
|
.else
|
2006-12-26 06:11:14 +01:00
|
|
|
DEFAULT_DVD_DEVICE=/dev/cd0
|
2004-08-20 18:50:14 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITH_DVD_DEVICE)
|
|
|
|
@${ECHO_MSG} "===>"
|
|
|
|
@${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}"
|
|
|
|
@${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
|
|
|
|
@${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
|
|
|
|
.endif
|
|
|
|
|
2013-05-15 10:16:10 +02:00
|
|
|
post-extract:
|
2014-01-17 17:52:55 +01:00
|
|
|
@${ECHO_CMD} -n > ${WRKSRC}/NEWS
|
2013-05-15 10:16:10 +02:00
|
|
|
|
2004-08-20 18:50:14 +02:00
|
|
|
post-patch:
|
2014-01-17 17:52:55 +01:00
|
|
|
@${REINPLACE_CMD} -e '/doc_DATA/s|COPYING||' \
|
|
|
|
${WRKSRC}/Makefile.am
|
|
|
|
@${REINPLACE_CMD} -e 's|=\(dvdstyler.png\)|=${PREFIX}/share/pixmaps/\1|' \
|
|
|
|
${WRKSRC}/data/dvdstyler.desktop
|
2013-03-27 07:20:07 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|"sg\*"|"cd*"|g' \
|
|
|
|
${WRKSRC}/src/BurnDlg.cpp
|
2006-05-29 15:43:01 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \
|
2013-03-27 07:20:07 +01:00
|
|
|
${WRKSRC}/src/Config.h
|
2005-04-26 10:21:30 +02:00
|
|
|
|
2013-03-27 07:20:07 +01:00
|
|
|
.include <bsd.port.mk>
|