aboutsummaryrefslogtreecommitdiffstats
path: root/java/cacao
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-02-11 21:44:15 +0800
committerarved <arved@FreeBSD.org>2007-02-11 21:44:15 +0800
commit49023d68f027c29045bc6ef0e9c494c085469e22 (patch)
tree123ddb97ec21095ee41fa30f3fb514d8663d69c6 /java/cacao
parentd3b1e34f3cccd9d8a379f48f1f55e70f5a2f304c (diff)
downloadfreebsd-ports-gnome-49023d68f027c29045bc6ef0e9c494c085469e22.tar.gz
freebsd-ports-gnome-49023d68f027c29045bc6ef0e9c494c085469e22.tar.zst
freebsd-ports-gnome-49023d68f027c29045bc6ef0e9c494c085469e22.zip
Install manpage correctly.
Report by: pointyhat
Diffstat (limited to 'java/cacao')
-rw-r--r--java/cacao/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/cacao/Makefile b/java/cacao/Makefile
index be3393493623..1a9be57a0f96 100644
--- a/java/cacao/Makefile
+++ b/java/cacao/Makefile
@@ -6,6 +6,7 @@
PORTNAME= cacao
PORTVERSION= 0.97
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PORTVERSION}/
@@ -18,6 +19,7 @@ USE_AUTOTOOLS= libltdl
USE_JAVA= yes
JAVA_VERSION= 1.4+
GNU_CONFIGURE= yes
+MAN1= cacao.1
CONFIGURE_ARGS+= --with-classpath-prefix=${LOCALBASE}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
@@ -28,4 +30,10 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
IGNORE= unsupported architecture
.endif
+post-patch:
+ ${REINPLACE_CMD} -e "s, man,," ${WRKSRC}/Makefile.in
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/man/cacao.1 ${MANPREFIX}/man/man1
+
.include <bsd.port.post.mk>