mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
e7e11d047b
- Convert Makefile echo's to pkg-message
33 lines
672 B
Makefile
33 lines
672 B
Makefile
# Created by: Alexander Kuehn <freebsd@nagilum.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= swapmon
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Add/remove swapspace as needed
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
PLIST_FILES= sbin/swapmon man/man1/swapmon.1.gz
|
|
|
|
post-extract:
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/${PORTNAME}.sh.in \
|
|
> ${WRKDIR}/${PORTNAME}.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
|
|
${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
|
|
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|