openbsd-ports/multimedia/dvdauthor/Makefile
2011-09-16 10:31:20 +00:00

40 lines
946 B
Makefile

# $OpenBSD: Makefile,v 1.16 2011/09/16 10:31:23 espie Exp $
COMMENT= creates DVD file structures
DISTNAME= dvdauthor-0.6.14
REVISION= 1
CATEGORIES= multimedia
HOMEPAGE= http://dvdauthor.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvdauthor/}
MODULES= converters/libiconv
LIB_DEPENDS= devel/libdvdread \
devel/fribidi \
textproc/libxml \
graphics/ImageMagick
WANTLIB += c freetype m png z dvdread fribidi xml2 MagickCore MagickWand
USE_GMAKE= Yes
USE_GROFF= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include/libpng"
MAKE_FLAGS+= BISON="yacc" LDFLAGS="-L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dvdauthor
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dvdauthor
.include <bsd.port.mk>