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
This commit is contained in:
Adam Weinberger 2003-05-08 00:05:58 +00:00
parent b65f3a5221
commit 0153b99438
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80403
2 changed files with 10 additions and 2 deletions

View File

@ -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>

View File

@ -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