12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- # $OpenBSD: Makefile,v 1.26 2017/05/18 10:29:00 espie Exp $
- COMMENT= creates DVD file structures
- DISTNAME= dvdauthor-0.7.1
- REVISION= 0
- CATEGORIES= multimedia
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvdauthor/}
- HOMEPAGE= http://dvdauthor.sourceforge.net/
- # GPLv2+
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB += MagickCore-6.Q16 c dvdread fontconfig freetype fribidi
- WANTLIB += iconv lzma m png 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
|