1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Enable stage

USES=gmake
This commit is contained in:
Baptiste Daroussin 2013-10-18 23:18:19 +00:00
parent 97f5c13944
commit 2a9f9e5056
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330788
2 changed files with 13 additions and 33 deletions

View File

@ -8,7 +8,9 @@ CATEGORIES= misc
MASTER_SITES= GOOGLE_CODE
MAINTAINER= bapt@FreeBSD.org
COMMENT= A tool for creating presentations
COMMENT= Tool for creating presentations
OPTIONS_DEFINE= DOCS
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
@ -19,18 +21,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.if !defined(NO_INSTALL_MANPAGES)
MAN1= xsw.1 \
xsw2pdf.1 \
xswconv.1
MANCOMPRESSED= no
.endif
.if defined(.PARSEDIR)
USE_GMAKE= yes
.endif
DOCS= AUTHORS \
COPYING \
NEWS \
@ -40,25 +30,12 @@ DOCS= AUTHORS \
TODO \
doc/xsw.vim
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s,./install-fonts ,./install-fonts \$$(DESTDIR)," \
${WRKSRC}/data/Makefile.in
do-install:
(cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install)
(cd ${WRKSRC}/data && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif
.if !defined(NO_INSTALL_MANPAGES)
.for manpage in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/man/man1/${manpage} ${MAN1PREFIX}/man/man1
.endfor
.endif
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -3,6 +3,9 @@ bin/xsw2jpeg
bin/xsw2pdf
bin/xsw2png
bin/xswconv
man/man1/xsw.1.gz
man/man1/xsw2pdf.1.gz
man/man1/xswconv.1.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/NEWS
@ -25,6 +28,6 @@ bin/xswconv
%%DATADIR%%/tutorial/tutorial.xsw
%%DATADIR%%/tutorial/tutorial.xsw.in
%%DATADIR%%/tutorial/tux.png
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrm %%DATADIR%%/tutorial
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%