summaryrefslogtreecommitdiff
path: root/devel/uclmmbase
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-29 21:43:52 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-29 21:43:52 +0000
commit238481cd0b9de63706428ce5dcc80bbb08407cdd (patch)
tree26dc5569d2409e884a186f1c4b28b5bad7de92f6 /devel/uclmmbase
parentChase the checksum. (diff)
- Add MANTAINER line
- Suppprt CC/CFLAGS/LOCALBASE properly - Add WWW: line into pkg/DESCR - Fix pkg/PLIST PR: 16408 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=25270
Diffstat (limited to 'devel/uclmmbase')
-rw-r--r--devel/uclmmbase/Makefile15
-rw-r--r--devel/uclmmbase/files/patch-ab19
-rw-r--r--devel/uclmmbase/pkg-descr2
-rw-r--r--devel/uclmmbase/pkg-plist3
4 files changed, 32 insertions, 7 deletions
diff --git a/devel/uclmmbase/Makefile b/devel/uclmmbase/Makefile
index 8829167ecd49..f28281458b89 100644
--- a/devel/uclmmbase/Makefile
+++ b/devel/uclmmbase/Makefile
@@ -11,9 +11,12 @@ PKGNAME= uclmmbase-1.0.9
CATEGORIES= devel
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
+MAINTAINER= ports@FreeBSD.org
+
WRKSRC= ${WRKDIR}/common
HAS_CONFIGURE= yes
-USE_GMAKE= yes
+CONFIGURE_ENV= CC='${CC}' LOCALBASE='${LOCALBASE}' OPTIMIZE='${CFLAGS}'
+CONFIGURE_ARGS= -optimize
RESTRICTED= "Contains DES cryptography."
@@ -22,10 +25,10 @@ INSTALL_HDRS= base64.h config_win32.h config_unix.h crypt_random.h \
rtp.h util.h version.h
do-install:
- cd ${WRKSRC}; \
- ${INSTALL} -c -o root -g wheel -m 444 libcommon.a \
- ${PREFIX}/lib/libuclmmbase.a; \
- ${MKDIR} ${PREFIX}/include/uclmmbase; \
- ${INSTALL_DATA} ${INSTALL_HDRS} ${PREFIX}/include/uclmmbase
+ ${INSTALL_DATA} ${WRKSRC}/libcommon.a ${PREFIX}/lib/libuclmmbase.a
+ @${MKDIR} ${PREFIX}/include/uclmmbase
+.for file in ${INSTALL_HDRS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/uclmmbase
+.endfor
.include <bsd.port.mk>
diff --git a/devel/uclmmbase/files/patch-ab b/devel/uclmmbase/files/patch-ab
new file mode 100644
index 000000000000..f3a7d3643747
--- /dev/null
+++ b/devel/uclmmbase/files/patch-ab
@@ -0,0 +1,19 @@
+--- configure.orig Fri Oct 15 18:31:00 1999
++++ configure Fri Jan 28 03:52:54 2000
+@@ -99,13 +99,13 @@
+ PROFILE="-pg"
+ ECHO="echo -e"
+ ;;
+- FreeBSD ) CC="gcc"
++ FreeBSD ) CC="${CC}"
+ WFLAGS=$GCCWFLAGS
+- INCLUDE="-I/usr/local/include"
++ INCLUDE="-I${LOCALBASE}/include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+- OPTIMIZE="-O4"
++ OPTIMIZE="${OPTIMIZE}"
+ PROFILE="-pg"
+ ECHO=/bin/echo
+ ;;
diff --git a/devel/uclmmbase/pkg-descr b/devel/uclmmbase/pkg-descr
index 63ae8a6fc163..7224a77e47fe 100644
--- a/devel/uclmmbase/pkg-descr
+++ b/devel/uclmmbase/pkg-descr
@@ -3,3 +3,5 @@ to avoid confusion) is used by the IP multicast tools developed by
University College, London. It contains IP multicast management,
real-time transport protocol, and cryptographic routines, as well as
some convenience functions and header files.
+
+WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
diff --git a/devel/uclmmbase/pkg-plist b/devel/uclmmbase/pkg-plist
index f89158ca2a05..2764334bd54f 100644
--- a/devel/uclmmbase/pkg-plist
+++ b/devel/uclmmbase/pkg-plist
@@ -1,4 +1,3 @@
-lib/libuclmmbase.a
include/uclmmbase/base64.h
include/uclmmbase/config_win32.h
include/uclmmbase/config_unix.h
@@ -13,3 +12,5 @@ include/uclmmbase/qfDES.h
include/uclmmbase/rtp.h
include/uclmmbase/util.h
include/uclmmbase/version.h
+lib/libuclmmbase.a
+@dirrm include/uclmmbase