1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/ports-mgmt/pkg_replace/Makefile
Dmitry Marakasov b463b7c5ce - Update to 20191018
PR:		241320
Submitted by:	kdeguchi@sz.tokoha-u.ac.jp (maintainer)
2019-12-04 17:04:41 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Securedog <securedog@users.sourceforge.jp>
# $FreeBSD$
PORTNAME= pkg_replace
PORTVERSION= 20191018
CATEGORIES= ports-mgmt
MASTER_SITES= http://member.tokoha-u.ac.jp/~kdeguchi/download/
MAINTAINER= kdeguchi@sz.tokoha-u.ac.jp
COMMENT= Utility for upgrading installed packages
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:xz
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
PORTDOCS= ChangeLog README README.ja
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g;s|%%PKGCOMPATDIR%%|${PKGCOMPATDIR}|g' \
${WRKSRC}/${PORTNAME}.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \
${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1/
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>