aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/unstow/Makefile
blob: 271080aa637b625d7a538781f4efb95c7b6b8a8b (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
33
34
35
# New ports collection makefile for:    unstow
# Date created:     3 January 2010
# Whom:         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

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>