0555518b38
- Fix OSVERSION number. During the initial copy of the port it was unidentified like from which exact OSVERSION portsnap will be removed as the src changes were still under review. After the exact removal from the tree we can conclude that eeffective from 1400087 there will be no more portsnap in the base.
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
PORTNAME= portsnap
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= ports-mgmt net
|
|
MASTER_SITES= http://www.daemonology.net/portsnap/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Provides secure snapshots of the ports directory
|
|
WWW= http://www.daemonology.net/portsnap/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_FILES= "@sample etc/portsnap.conf.sample" \
|
|
libexec/make_index \
|
|
sbin/portsnap \
|
|
man/man5/portsnap.conf.5.gz \
|
|
man/man8/portsnap.8.gz
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400087
|
|
IGNORE= portsnap is in base systems and has been removed from 14.0-RELEASE
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
|
|
${WRKSRC}/portsnap \
|
|
${WRKSRC}/portsnap.conf.5 \
|
|
${WRKSRC}/portsnap.8
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portsnap ${STAGEDIR}/${PREFIX}/sbin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/make_index ${STAGEDIR}/${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKSRC}/portsnap.conf.5 ${STAGEDIR}/${PREFIX}/man/man5/
|
|
${INSTALL_MAN} ${WRKSRC}/portsnap.8 ${STAGEDIR}/${PREFIX}/man/man8/
|
|
${INSTALL_DATA} ${WRKSRC}/portsnap.conf \
|
|
${STAGEDIR}/${PREFIX}/etc/portsnap.conf.sample
|
|
|
|
.include <bsd.port.post.mk>
|