1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/ports-mgmt/pkg_replace/Makefile
Fernando Apesteguía 79e0b26c8f ports-mgmt/pkg_replace: update to 20200821
ChangeLog: https://github.com/kdeguchi/pkg_replace/blob/master/ChangeLog

 * Fix bug in function install_package

PR:     248919
Submitted by:   kdeguchi@sz.tokoha-u.ac.jp (maintainer)
MFH:    2020Q3 (runtime fix)
2020-08-26 11:31:17 +00:00

43 lines
978 B
Makefile

# Created by: Securedog <securedog@users.sourceforge.jp>
# $FreeBSD$
PORTNAME= pkg_replace
PORTVERSION= 20200821
CATEGORIES= ports-mgmt
MAINTAINER= kdeguchi@sz.tokoha-u.ac.jp
COMMENT= Utility for upgrading installed packages
LICENSE= CC0-1.0
USE_GITHUB= yes
GH_ACCOUNT= kdeguchi
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}/share/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>