mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix pkg-plist
- Minor tweaking and cleanups PR: ports/85989 Submitted by: Graham Todd <gtodd@bellanet.org> (maintainer)
This commit is contained in:
parent
ef8a4adcd3
commit
2b05516cd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144556
@ -18,24 +18,25 @@ LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db2
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --datadir=${PREFIX}/share/pks --localstatedir=/var/pks \
|
||||
--sysconfdir=${PREFIX}/share/examples \
|
||||
--sysconfdir=${EXAMPLESDIR} \
|
||||
--libdir=${LOCALBASE}/lib --with-libwrap
|
||||
CFLAGS+= -I/usr/local/include/db2
|
||||
CFLAGS+= -I${LOCALBASE}/include/db2
|
||||
MAKE_ENV+= LDFLAGS=-L${LOCALBASE}/lib SUBDIRS=
|
||||
|
||||
USE_RC_SUBR= pksd.sh
|
||||
MAN5= pksd.conf.5
|
||||
MAN8= pks-intro.8 pksclient.8 pksd.8 pksdctl.8
|
||||
USE_REINPLACE= yes
|
||||
SUB_FILES= pkg-message pkg-deinstall
|
||||
|
||||
# remove embedded sleepycat, remove associated build commands, make
|
||||
# the build use the headers and libraries from the db2 port
|
||||
post-patch:
|
||||
${RM} -rf ${WRKSRC}/db2-sleepycat
|
||||
${REINPLACE_CMD} 's|SUBDIRS =.*|SUBDIRS =|; \
|
||||
s|LIBDB =.*|LIBDB = -L/usr/local/lib -ldb2|; \
|
||||
s|DBDIR =.*|DBDIR = /usr/local/include/db2|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
s|LIBDB =.*|LIBDB = -L${LOCALBASE}/lib -ldb2|; \
|
||||
s|DBDIR =.*|DBDIR = ${LOCALBASE}/include/db2|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pksd.sh ${PREFIX}/etc/rc.d/pksd.sh
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: /tmp/pcvs/ports/security/pks/files/pkg-deinstall.in,v 1.1 2005-10-08 07:44:07 lawrance Exp $
|
||||
|
||||
PKGNAME=$1
|
||||
STAGE=$2
|
||||
@ -14,7 +14,7 @@ POST-DEINSTALL)
|
||||
If you won't be using ${PKGNAME} any longer, you may want to remove the
|
||||
following directories and files:
|
||||
|
||||
${PREFIX}/etc/pksd.conf
|
||||
%%PREFIX%%/etc/pksd.conf
|
||||
/var/pks
|
||||
===========================================================================
|
||||
EOF
|
@ -6,6 +6,6 @@
|
||||
web interface please edit the
|
||||
configuration file at:
|
||||
|
||||
/usr/local/etc/pks/pksd.conf
|
||||
%%PREFIX%%/etc/pks/pksd.conf
|
||||
|
||||
##################################
|
@ -5,7 +5,7 @@ bin/pksclient
|
||||
sbin/pksd
|
||||
bin/pksdctl
|
||||
etc/pksd.conf.sample
|
||||
share/pks/mail_intro
|
||||
%%DATADIR%%/mail_intro
|
||||
%%PORTDOCS%%%%DOCSDIR%%/mail_intro
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pks_help.en
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pks_help.es
|
||||
@ -14,4 +14,6 @@ share/pks/mail_intro
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pks_help.cz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pks_help.ja
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%EXAMPLESDIR%%/pksd.conf
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm share/pks
|
||||
|
Loading…
Reference in New Issue
Block a user