blob: 620f4683b4b3427f3e1bcefa835fab1336cb0940 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= unstow
PORTVERSION= 0.1.1
CATEGORIES= sysutils
MASTER_SITES= http://download.github.com/ \
ftp://ftp.iDaemons.org/pub/distfiles/
DISTNAME= knu-stow-utils-885c88a
MAINTAINER= knu@FreeBSD.org
COMMENT= A script to unstow packages much faster than stow -D
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
PORTDOCS= README.md
NO_STAGE= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
.for man in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/man/${man} ${MANPREFIX}/man/man1/
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|