mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Switch to USES=libtool:build
- Use @sample
This commit is contained in:
parent
3df6bfa470
commit
a099d9725b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368563
@ -14,13 +14,12 @@ LICENSE= GPLv2
|
||||
LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa
|
||||
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
USES= bison libtool gmake
|
||||
USE_AUTOTOOLS= libtoolize
|
||||
USES= bison gmake libtool:build
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \
|
||||
--without-local-zlib
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
LIBS+= -L${LOCALBASE}/lib
|
||||
|
||||
SUB_FILES+= dictd.conf pkg-message
|
||||
SUB_LIST+= PORTSDIR=${PORTSDIR}
|
||||
@ -35,6 +34,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|\([\ \t(]\)T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly]
|
||||
|
||||
post-install:
|
||||
@${CP} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
||||
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,7 +1,5 @@
|
||||
bin/dictzip
|
||||
@sample etc/dictd.conf.sample
|
||||
man/man1/dictzip.1.gz
|
||||
man/man8/dictd.8.gz
|
||||
sbin/dictd
|
||||
@unexec if cmp -s %D/etc/dictd.conf %D/etc/dictd.conf.sample; then rm -f %D/etc/dictd.conf; fi
|
||||
etc/dictd.conf.sample
|
||||
@exec [ -f %B/dictd.conf ] || cp %B/%f %B/dictd.conf
|
||||
|
Loading…
Reference in New Issue
Block a user