1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/archivers/xdms/Makefile

36 lines
831 B
Makefile

# New ports collection makefile for: xdms
# Date created: Apr 13, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= xdms
PORTVERSION= 1.3.1
CATEGORIES= archivers
MASTER_SITES= http://zakalwe.virtuaalipalvelin.net/~shd/foss/xdms/
MAINTAINER= ports@FreeBSD.org
COMMENT= An Amiga DMS archiver unpacker
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= xdms
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} "s@-O3 -Wall@-Wall@g" ${WRKSRC}/src/Makefile.in
.if ( ${OSVERSION} < 500000 )
${REINPLACE_CMD} 's/stdint.h/inttypes.h/' ${WRKSRC}/src/cdata.h
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/xdms
${INSTALL_DATA} ${WRKSRC}/xdms.txt ${PREFIX}/share/doc/xdms
.endif
.include <bsd.port.post.mk>