1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/sysutils/pydf/Makefile
Dmitry Marakasov 94817f0784 Add Public Domain support to ports license framework. You can now use
LICENSE=  PD

Note that although Public Domain is not technically a license, it's
handled in the same way as licenses here, which is a common practice
(Arch, Gentoo, Fedora, Debian, even FOSSology do the same).

Convert all ports which redefine Public Domain LICENSE to LICENSE=PD.

Approved by:	portmgr (bapt)
Differential Revision:	D4149
2016-01-12 14:33:21 +00:00

36 lines
875 B
Makefile

# Created by: Baptiste Grenier <gwarf@gwarf.org>
# $FreeBSD$
PORTNAME= pydf
PORTVERSION= 10
CATEGORIES= sysutils
MASTER_SITES= http://kassiopeia.juls.savba.sk/~garabik/software/pydf/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= baptiste@bapt.name
COMMENT= Python implementation of df
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/COPYING
SUB_FILES= pkg-message
USES= python shebangfix
NO_BUILD= yes
SHEBANG_FILES= pydf
PLIST_FILES= bin/pydf etc/pydfrc.sample man/man1/pydf.1.gz
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}| ; \
s|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/pydf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pydf ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/pydfrc ${STAGEDIR}${PREFIX}/etc/pydfrc.sample
${INSTALL_MAN} ${WRKSRC}/pydf.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>