summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-20 07:12:02 +0000
committerijliao <ijliao@FreeBSD.org>2002-09-20 07:12:02 +0000
commit2bd6979bc9aed8ccd4e4a0d23ae2f4075fc52a35 (patch)
tree9fec42863712015786b2509a281767629c6df306
parent045769f3af594b1100ce6ebaa616b5c1ba8a06bb (diff)
downloadFreeBSD-ports-2bd6979bc9aed8ccd4e4a0d23ae2f4075fc52a35.zip
FreeBSD-ports-2bd6979bc9aed8ccd4e4a0d23ae2f4075fc52a35.tar.gz
- Support CFLAGS/CXXFLAGS properly
- Support install macros PR: 42900 Submitted by: Ports Fury
-rw-r--r--print/catdvi/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/print/catdvi/Makefile b/print/catdvi/Makefile
index 4e517df..cacdc9b 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>
OpenPOWER on IntegriCloud