openbsd-ports/multimedia/dvdauthor/Makefile
naddy feaca0eb2e remove libs from libwmf from wantlib. they are added when the installed imagemagick
is !,no_x11. So instead of enforcing the non-non_x11 flavor, fix wantlib.
2011-11-08 15:29:44 +00:00

42 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2011/11/08 15:29:44 naddy Exp $
COMMENT= creates DVD file structures
DISTNAME= dvdauthor-0.7.0
REVISION= 0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvdauthor/}
HOMEPAGE= http://dvdauthor.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB+= ICE MagickCore SM X11 Xext Xt bz2 c djvulibre dvdread
WANTLIB+= expat fftw3 fontconfig freetype fribidi jasper jbig
WANTLIB+= jpeg lcms2 ltdl lzma m png pthread tiff xml2 z
MODULES= converters/libiconv
LIB_DEPENDS= devel/fribidi>=0.19.2 \
devel/libdvdread \
graphics/ImageMagick \
textproc/libxml
MAKE_FLAGS+= BISON="yacc"
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
WRKDIST= ${WRKDIR}/dvdauthor
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dvdauthor
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dvdauthor
.include <bsd.port.mk>