1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/archivers/xdms/Makefile
Baptiste Daroussin 388023924a Support stage
2013-12-26 17:01:25 +00:00

35 lines
725 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= sylvio@FreeBSD.org
COMMENT= Tool for decompressing Amiga DMS files
OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= xdms
USE_CSTD= gnu89
PORTDOCS= xdms.txt
PLIST_FILES= bin/xdms
post-patch:
${REINPLACE_CMD} "s@-O2 -Wall@$${CFLAGS} -Wall@g" ${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>