From cda18bfb6ab4c91e6f10f08dfa3d502ac1089d8c Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 20 Sep 2002 07:08:13 +0000 Subject: - Support CFLAGS/CXXFLAGS properly - Utilize NOPORTDOCS PR: 42898 Submitted by: Ports Fury --- math/rpc/Makefile | 11 +++++++++-- math/rpc/files/patch-src::Makefile.in | 13 +++++++++++++ math/rpc/pkg-plist | 2 ++ 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 math/rpc/files/patch-src::Makefile.in (limited to 'math/rpc') diff --git a/math/rpc/Makefile b/math/rpc/Makefile index 25b825c..c3f4fd0 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 diff --git a/math/rpc/files/patch-src::Makefile.in b/math/rpc/files/patch-src::Makefile.in new file mode 100644 index 0000000..7609150 --- /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 32632dd..b7b2197 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 -- cgit v1.1