48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.28 2017/10/23 17:10:51 sthen Exp $
|
|
|
|
COMMENT= creates DVD file structures
|
|
|
|
DISTNAME= dvdauthor-0.7.2
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvdauthor/}
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= http://dvdauthor.sourceforge.net/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += ICE MagickCore-6.Q16 SM X11 Xext Xt bz2 c djvulibre
|
|
WANTLIB += dvdread expat fftw3 fontconfig freetype fribidi iconv
|
|
WANTLIB += jbig jpeg lcms2 lzma m openjp2 png pthread
|
|
WANTLIB += tiff webp xcb xml2 z
|
|
|
|
LIB_DEPENDS= devel/fribidi \
|
|
devel/libdvdread \
|
|
graphics/ImageMagick \
|
|
textproc/libxml
|
|
|
|
MAKE_FLAGS+= BISON="yacc"
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
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>
|
|
|
|
# XXX there is some limited functionality that requires nested routines
|
|
# the configure detection works with clang but not with our gcc
|
|
# -> activate the extra functionality on gcc (see HAVE_NESTED_ROUTINES)
|
|
.if !${PROPERTIES:Mclang}
|
|
# error: trampoline code generation is not allowed without -ftrampolines
|
|
CFLAGS += -ftrampolines
|
|
.endif
|