dns/adsuck: Sanitize MANPREFIX

- Utilize USES=localbase

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-21 15:42:14 +01:00
parent 5776aaba37
commit 450310a898
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= adsuck
PORTVERSION= 2.3
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= dns
MASTER_SITES= http://opensource.conformal.com/snapshots/adsuck/ \
http://philpep.org/pub/
@ -15,7 +15,7 @@ LICENSE= ISCL
LIB_DEPENDS+= libevent.so:devel/libevent \
libldns.so:dns/ldns
CFLAGS+= -I${LOCALBASE}/include
USES= localbase
USE_RC_SUBR= adsuck
@ -28,7 +28,9 @@ OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${MANPREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${PREFIX}/share/man/man8
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/files/* ${STAGEDIR}${EXAMPLESDIR}

View file

@ -1,5 +1,5 @@
sbin/adsuck
man/man8/adsuck.8.gz
share/man/man8/adsuck.8.gz
%%EXAMPLESDIR%%/Hosts.blc
%%EXAMPLESDIR%%/Hosts.pub
%%EXAMPLESDIR%%/Hosts.rsk