svn commit: r330788 - head/misc/xsw
Baptiste Daroussin
bapt at FreeBSD.org
Fri Oct 18 23:18:20 UTC 2013
Author: bapt
Date: Fri Oct 18 23:18:19 2013
New Revision: 330788
URL: http://svnweb.freebsd.org/changeset/ports/330788
Log:
Enable stage
USES=gmake
Modified:
head/misc/xsw/Makefile
head/misc/xsw/pkg-plist
Modified: head/misc/xsw/Makefile
==============================================================================
--- head/misc/xsw/Makefile Fri Oct 18 23:12:02 2013 (r330787)
+++ head/misc/xsw/Makefile Fri Oct 18 23:18:19 2013 (r330788)
@@ -8,7 +8,9 @@ CATEGORIES= misc
MASTER_SITES= GOOGLE_CODE
MAINTAINER= bapt at 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>
-
-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-patch:
+ @${REINPLACE_CMD} -e "s,./install-fonts ,./install-fonts \$$(DESTDIR)," \
+ ${WRKSRC}/data/Makefile.in
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/misc/xsw/pkg-plist
==============================================================================
--- head/misc/xsw/pkg-plist Fri Oct 18 23:12:02 2013 (r330787)
+++ head/misc/xsw/pkg-plist Fri Oct 18 23:18:19 2013 (r330788)
@@ -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%%
More information about the svn-ports-head
mailing list