aboutsummaryrefslogtreecommitdiff
path: root/devel/libmtrie
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-05-08 00:05:58 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-05-08 00:05:58 +0000
commit0153b99438c3803737365f1781c9d2df1fc061f4 (patch)
tree02c9b71625d60f7e01340118d1e30f5f3f0b3976 /devel/libmtrie
parentb65f3a52214f43dbf3006369239804b3a7e79460 (diff)
downloadports-0153b99438c3803737365f1781c9d2df1fc061f4.tar.gz
ports-0153b99438c3803737365f1781c9d2df1fc061f4.zip
A couple touch-ups.
I'm changing PORTNAME to be consistent with the directory name, the modules entry, and other library porty things. Define INSTALLS_SHLIB so ldconfig gets run after install. Conditionalize registration of the profile library within the plist depending upon whether NOPROFILE is set. Implicit sortof approval kindof given maybe don't kill() me for changing your port by: alfred
Notes
Notes: svn path=/head/; revision=80403
Diffstat (limited to 'devel/libmtrie')
-rw-r--r--devel/libmtrie/Makefile10
-rw-r--r--devel/libmtrie/pkg-plist2
2 files changed, 10 insertions, 2 deletions
diff --git a/devel/libmtrie/Makefile b/devel/libmtrie/Makefile
index 3eefd59fbd10..995c97848348 100644
--- a/devel/libmtrie/Makefile
+++ b/devel/libmtrie/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTNAME= mtrie
+PORTNAME= libmtrie
PORTVERSION= 1.0.0
CATEGORIES= devel
MASTER_SITES= http://people.freebsd.org/~alfred/sources/mtrie/
@@ -15,4 +15,12 @@ USE_BZIP2= dongs
MAINTAINER= alfred@FreeBSD.org
COMMENT= A library to build an IP-netmask based mtrie.
+INSTALLS_SHLIB= http://www.jerkcity.com/jerkcity1118.html
+
+.if defined(NOPROFILE)
+PLIST_SUB+= HURRRR="@comment "
+.else
+PLIST_SUB+= HURRRR=""
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/libmtrie/pkg-plist b/devel/libmtrie/pkg-plist
index 661bffded3fb..9cab765c2dcc 100644
--- a/devel/libmtrie/pkg-plist
+++ b/devel/libmtrie/pkg-plist
@@ -1,5 +1,5 @@
lib/libmtrie.a
-lib/libmtrie_p.a
+%HURRRR%%lib/libmtrie_p.a
lib/libmtrie.so.1
lib/libmtrie.so
include/mtrie.h