freebsd-ports/archivers/xdms/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

38 lines
760 B
Makefile

# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$
PORTNAME= xdms
PORTVERSION= 1.3.2
CATEGORIES= archivers
MASTER_SITES= http://zakalwe.fi/~shd/foss/xdms/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for decompressing Amiga DMS files
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= xdms
USE_CSTD= gnu89
PORTDOCS= xdms.txt
PLIST_FILES= bin/xdms
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} "s@-O2 -Wall@$${CFLAGS} -Wall@g" ${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/xdms.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>