1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/archivers/xmill/Makefile
Alexey Dokuchaev 306871fcb7 AT&T now dynamically generates download URL. :-(
Noticed by:	fenner's distfile survey
2006-01-24 12:59:18 +00:00

52 lines
1.5 KiB
Makefile

# New ports collection makefile for: XMill
# Date created: 09 May 2003
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#
PORTNAME= xmill
DISTVERSION= 0-7
CATEGORIES= archivers
MASTER_SITES=
DISTNAME= ${PORTNAME}-${DISTVERSION}.src
MAINTAINER= danfe@FreeBSD.org
COMMENT= An efficient compressor for XML
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
MAKEFILE= makefile
USE_ZIP= yes
PLIST_FILES= bin/xmill bin/xdemill bin/xbmill bin/xbdemill
PORTDOCS= COPYRIGHT.txt LICENSE.txt MANUAL.txt README.txt xmill.ps.gz
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= requires explicit agreement to the terms and conditions of the license. Download ${DISTNAME}${EXTRACT_SUFX} manually from http://www.research.att.com/sw/tools/XMILL/, put it under ${DISTDIR} and run make again
.endif
post-patch:
@${REINPLACE_CMD} -e 's,friend,& class,' \
${WRKSRC}/src/*.?pp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix/xmill ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/unix/xdemill ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/unix/xbmill ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/unix/xbdemill ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/MANUAL.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/paper/xmill.ps.gz ${DOCSDIR}
.endif
.include <bsd.port.post.mk>