aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-28 05:17:25 +0800
committermat <mat@FreeBSD.org>2014-01-28 05:17:25 +0800
commit10960035b1a4c4cf4148159e5cf0ec0398fe1112 (patch)
tree0792af02e16e8d568bffe71b4bf29b06ae25f091 /textproc
parent1295feaffa7d0ee4724a1b4339f717baab45e712 (diff)
downloadfreebsd-ports-gnome-10960035b1a4c4cf4148159e5cf0ec0398fe1112.tar.gz
freebsd-ports-gnome-10960035b1a4c4cf4148159e5cf0ec0398fe1112.tar.zst
freebsd-ports-gnome-10960035b1a4c4cf4148159e5cf0ec0398fe1112.zip
Support staging.
Sponsored by: Absolight
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gladtex/Makefile18
-rw-r--r--textproc/gladtex/pkg-plist1
2 files changed, 6 insertions, 13 deletions
diff --git a/textproc/gladtex/Makefile b/textproc/gladtex/Makefile
index b298281ae855..4756ca964a0e 100644
--- a/textproc/gladtex/Makefile
+++ b/textproc/gladtex/Makefile
@@ -13,8 +13,8 @@ COMMENT= A program to replace LaTeX formulas in HTML files with images
LICENSE= GPLv2
-LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
- png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
+ libpng15.so:${PORTSDIR}/graphics/png
USE_TEX= latex dvipsk
BINPATH= ${PREFIX}/bin
@@ -23,19 +23,11 @@ LIBPATH= "-L${LOCALBASE}/lib"
MAKE_ENV+= BINPATH=${BINPATH} INCPATH="${INCPATH}" LIBPATH="${LIBPATH}"
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= ${PORTNAME}.1
-.endif
-
USES= perl5
-NO_STAGE= yes
do-install:
- @cd ${WRKSRC}; \
- ${INSTALL_SCRIPT} ${PORTNAME} ${BINPATH}; \
- ${INSTALL_PROGRAM} eqn2img ${BINPATH}
-.if !defined(NO_INSTALL_MANPAGES)
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1/
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${BINPATH}; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/eqn2img ${STAGEDIR}${BINPATH}
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/
.include <bsd.port.mk>
diff --git a/textproc/gladtex/pkg-plist b/textproc/gladtex/pkg-plist
index 913246617007..9a64a4f74197 100644
--- a/textproc/gladtex/pkg-plist
+++ b/textproc/gladtex/pkg-plist
@@ -1,2 +1,3 @@
bin/eqn2img
bin/gladtex
+man/man1/gladtex.1.gz