- use STAGEDIR
- take maintainership
This commit is contained in:
parent
11eea7371e
commit
eceeec8b98
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349635
2 changed files with 33 additions and 3 deletions
|
@ -8,7 +8,7 @@ CATEGORIES= graphics
|
|||
MASTER_SITES= http://www.swftools.org/ \
|
||||
http://www.c-s.li/ports/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= dinoex@FreeBSD.org
|
||||
COMMENT= SWF manipulation and generation utilities
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
@ -20,8 +20,6 @@ LIB_DEPENDS= libt1.so:${PORTSDIR}/devel/t1lib \
|
|||
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
||||
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
USES= pkgconfig gmake
|
||||
USE_GL= glut
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -34,6 +32,10 @@ MAN1= as3compile.1 font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 \
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
BINFILES= as3compile font2swf gif2swf jpeg2swf pdf2swf png2swf \
|
||||
swfbbox swfc swfcombine swfdump swfextract swfrender \
|
||||
swfstrings wav2swf
|
||||
|
||||
OPTIONS_DEFINE= LAME PDF
|
||||
OPTIONS_SUB= yes
|
||||
LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame
|
||||
|
@ -47,6 +49,7 @@ CONFIGURE_ENV+= ac_cv_lib_mp3lame_lame_init=no
|
|||
|
||||
.if ${PORT_OPTIONS:MPDF}
|
||||
MAN1+= pdf2pdf.1
|
||||
BINFILES+= pdf2pdf
|
||||
.else
|
||||
CONFIGURE_ENV+= ac_cv_lib_pdf_PDF_open_file=no
|
||||
.endif
|
||||
|
@ -59,4 +62,16 @@ post-patch:
|
|||
${REINPLACE_CMD} -e '/python/d ; \
|
||||
/avi2swf/d' ${WRKSRC}/Makefile.in
|
||||
|
||||
do-install:
|
||||
.for i in ${BINFILES}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${STAGEDIR}${PREFIX}/bin/
|
||||
.endfor
|
||||
.for i in ${MAN1}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/${i} ${STAGEDIR}${PREFIX}/man/man1/
|
||||
.endfor
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/swfs
|
||||
${INSTALL_DATA} ${WRKSRC}/swfs/*.swf ${STAGEDIR}${DATADIR}/swfs/
|
||||
${LN} -s simple_viewer.swf ${STAGEDIR}${DATADIR}/swfs/default_viewer.swf
|
||||
${LN} -s tessel_loader.swf ${STAGEDIR}${DATADIR}/swfs/default_loader.swf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -13,6 +13,21 @@ bin/swfextract
|
|||
bin/swfrender
|
||||
bin/swfstrings
|
||||
bin/wav2swf
|
||||
man/man1/as3compile.1.gz
|
||||
man/man1/font2swf.1.gz
|
||||
man/man1/gif2swf.1.gz
|
||||
man/man1/jpeg2swf.1.gz
|
||||
%%PDF%%man/man1/pdf2pdf.1.gz
|
||||
man/man1/pdf2swf.1.gz
|
||||
man/man1/png2swf.1.gz
|
||||
man/man1/swfbbox.1.gz
|
||||
man/man1/swfc.1.gz
|
||||
man/man1/swfcombine.1.gz
|
||||
man/man1/swfdump.1.gz
|
||||
man/man1/swfextract.1.gz
|
||||
man/man1/swfrender.1.gz
|
||||
man/man1/swfstrings.1.gz
|
||||
man/man1/wav2swf.1.gz
|
||||
%%DATADIR%%/swfs/PreLoaderTemplate.swf
|
||||
%%DATADIR%%/swfs/default_loader.swf
|
||||
%%DATADIR%%/swfs/default_viewer.swf
|
||||
|
|
Loading…
Reference in a new issue