aboutsummaryrefslogtreecommitdiffstats
path: root/print/catdvi
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-20 15:12:02 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-20 15:12:02 +0800
commit2bd6979bc9aed8ccd4e4a0d23ae2f4075fc52a35 (patch)
tree9fec42863712015786b2509a281767629c6df306 /print/catdvi
parent045769f3af594b1100ce6ebaa616b5c1ba8a06bb (diff)
downloadfreebsd-ports-gnome-2bd6979bc9aed8ccd4e4a0d23ae2f4075fc52a35.tar.gz
freebsd-ports-gnome-2bd6979bc9aed8ccd4e4a0d23ae2f4075fc52a35.tar.zst
freebsd-ports-gnome-2bd6979bc9aed8ccd4e4a0d23ae2f4075fc52a35.zip
- Support CFLAGS/CXXFLAGS properly
- Support install macros PR: 42900 Submitted by: Ports Fury
Diffstat (limited to 'print/catdvi')
-rw-r--r--print/catdvi/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/print/catdvi/Makefile b/print/catdvi/Makefile
index 4e517df34eef..cacdc9b845bf 100644
--- a/print/catdvi/Makefile
+++ b/print/catdvi/Makefile
@@ -8,6 +8,7 @@
PORTNAME= catdvi
PORTVERSION= 0.13
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,18 +16,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
MAKEFILE= GNUmakefile
-USE_GMAKE= yes
ALL_TARGET= # empty
MAN1= catdvi.1
-post-install:
- @${STRIP_CMD} ${PREFIX}/bin/catdvi
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/catdvi.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>