summaryrefslogtreecommitdiff
path: root/math/rpc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 07:08:13 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 07:08:13 +0000
commit8f9ed65d7aa89bdbd2c55d48b7ddcd5d43768a36 (patch)
tree8b2bea7041723f9d2d56c21442dba63012c29f3b /math/rpc
parentUpdate the IPv6 patch to test14; later ones seem to have problems (diff)
- Support CFLAGS/CXXFLAGS properly
- Utilize NOPORTDOCS PR: 42898 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=66804
Diffstat (limited to 'math/rpc')
-rw-r--r--math/rpc/Makefile11
-rw-r--r--math/rpc/files/patch-src::Makefile.in13
-rw-r--r--math/rpc/pkg-plist2
3 files changed, 24 insertions, 2 deletions
diff --git a/math/rpc/Makefile b/math/rpc/Makefile
index 25b825cdc574..c3f4fd00a607 100644
--- a/math/rpc/Makefile
+++ b/math/rpc/Makefile
@@ -8,6 +8,7 @@
PORTNAME= rpc
PORTVERSION= 0.96
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/rpc/
@@ -16,9 +17,15 @@ MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libccm.so:${PORTSDIR}/math/ccmath
RUN_DEPENDS= ${LOCALBASE}/lib/libccm.so:${PORTSDIR}/math/ccmath
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-USE_GMAKE= yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/manual ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/math/rpc/files/patch-src::Makefile.in b/math/rpc/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..760915082851
--- /dev/null
+++ b/math/rpc/files/patch-src::Makefile.in
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig Mon Aug 13 13:01:30 2001
++++ src/Makefile.in Mon Sep 16 22:04:55 2002
+@@ -67,8 +67,8 @@
+
+ bin_PROGRAMS = rpc
+
+-CFLAGS = -O2 -Wall
+-CXXFLAGS = -O2 -Wall
++CFLAGS = @CFLAGS@
++CXXFLAGS = @CXXFLAGS@
+ INCLUDES = @CURSES_INCLUDEDIR@
+ LDADD = -lm -lccm @CURSES_LIBS@
+
diff --git a/math/rpc/pkg-plist b/math/rpc/pkg-plist
index 32632dd69ff9..b7b21971b36a 100644
--- a/math/rpc/pkg-plist
+++ b/math/rpc/pkg-plist
@@ -1 +1,3 @@
bin/rpc
+%%PORTDOCS%%share/doc/rpc/manual
+%%PORTDOCS%%@dirrm share/doc/rpc