aboutsummaryrefslogtreecommitdiff
path: root/lang/pm3-net
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2000-02-13 23:21:34 +0000
committerJohn Polstra <jdp@FreeBSD.org>2000-02-13 23:21:34 +0000
commit2b26c24e031343316c9d52630364eafc948b87ef (patch)
tree5b1bc31e7b04e5359cdf5b00e4b15c5f9f0c04fc /lang/pm3-net
parent61db71a1984a9316fc349de34180eac6b5405a00 (diff)
downloadports-2b26c24e031343316c9d52630364eafc948b87ef.tar.gz
ports-2b26c24e031343316c9d52630364eafc948b87ef.zip
Notes
Diffstat (limited to 'lang/pm3-net')
-rw-r--r--lang/pm3-net/Makefile14
-rw-r--r--lang/pm3-net/pkg-plist2
2 files changed, 12 insertions, 4 deletions
diff --git a/lang/pm3-net/Makefile b/lang/pm3-net/Makefile
index 5f0f7eb473fb..67d8696ca945 100644
--- a/lang/pm3-net/Makefile
+++ b/lang/pm3-net/Makefile
@@ -1,7 +1,7 @@
# New ports collection makefile for: pm3-net
# Version required: 1.1.13
# Date created: 6 Feb 2000
-# Whom: John Polstra <jdp@freebsd.org>
+# Whom: John Polstra <jdp@FreeBSD.org>
#
# $FreeBSD$
#
@@ -10,10 +10,10 @@ DISTNAME= pm3-net-${VERSION}
CATEGORIES= lang
DISTFILES=
-MAINTAINER= jdp@polstra.com
+MAINTAINER= jdp@FreeBSD.org
-BUILD_DEPENDS= ${PREFIX}/lib/m3/${TARGET}/libm3.so.${SOVERSION}:${PORTSDIR}/lang/pm3-base
-RUN_DEPENDS= ${PREFIX}/lib/m3/${TARGET}/libm3.so.${SOVERSION}:${PORTSDIR}/lang/pm3-base
+BUILD_DEPENDS= ${L1}libm3${L2}:${PORTSDIR}/lang/pm3-base
+RUN_DEPENDS= ${L1}libm3${L2}:${PORTSDIR}/lang/pm3-base
DEPENDS= ${PORTSDIR}/lang/pm3-base:configure
DIST_SUBDIR= pm3
@@ -25,16 +25,19 @@ WRKSRC= ${WRKDIRPREFIX}${.CURDIR}/../pm3-base/work/pm3-${VERSION}
BUILDDIRS= network/tcplibs/tcp \
network/tcplibs/tcpextras \
network/udp
+L1= ${PREFIX}/lib/m3/${TARGET}/
SOVERSION= 7
VERSION= 1.1.13
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "aout"
+L2= .so.${SOVERSION}.0
TARGET= FreeBSD2
TARGETDIR= freebsd-2
WORDSIZE= 32
.elif ${ARCH} == "i386"
+L2= .so.${SOVERSION}
.if ${OSVERSION} < 400011
TARGET= FreeBSD3
TARGETDIR= freebsd-3
@@ -48,6 +51,7 @@ WORDSIZE= 32
BROKEN= Not supported on older versions of FreeBSD/Alpha
.endif
CFLAGS+= -mieee
+L2= .so.${SOVERSION}
TARGET= FBSD_ALPHA
TARGETDIR= fbsd-alpha
WORDSIZE= 64
@@ -69,5 +73,7 @@ do-install:
cd ${WRKSRC}/$${i} && ${PREFIX}/bin/m3build && \
${PREFIX}/bin/m3ship; \
done
+ @${MKDIR} ${PREFIX}/share/pm3-net
+ @${INSTALL_DATA} ${WRKSRC}/src/COPYRIGHT ${PREFIX}/share/pm3-net
.include <bsd.port.post.mk>
diff --git a/lang/pm3-net/pkg-plist b/lang/pm3-net/pkg-plist
index 8205f5ade01b..8e87e09c2317 100644
--- a/lang/pm3-net/pkg-plist
+++ b/lang/pm3-net/pkg-plist
@@ -31,6 +31,8 @@ lib/m3/pkg/udp/%%TARGET%%/libUDP.a
lib/m3/pkg/udp/%%TARGET%%/libUDP.m3x
lib/m3/pkg/udp/%%TARGET%%/libUDP.so
lib/m3/pkg/udp/src/Common/UDP.i3
+share/pm3-net/COPYRIGHT
+@dirrm share/pm3-net
@dirrm lib/m3/pkg/udp/src/Common
@dirrm lib/m3/pkg/udp/src
@dirrm lib/m3/pkg/udp/%%TARGET%%