aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/xmill
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-05-27 16:47:55 +0800
committerdanfe <danfe@FreeBSD.org>2005-05-27 16:47:55 +0800
commit009ad62f7998f89792b0b12d8a995610ad231247 (patch)
treefe2b2f2f8c7baa8faae4de7c2b43bcedac9d01a5 /archivers/xmill
parent793bfe55f8f76de90a8529467c5fca43ba63c374 (diff)
downloadfreebsd-ports-gnome-009ad62f7998f89792b0b12d8a995610ad231247.tar.gz
freebsd-ports-gnome-009ad62f7998f89792b0b12d8a995610ad231247.tar.zst
freebsd-ports-gnome-009ad62f7998f89792b0b12d8a995610ad231247.zip
- Use DISTVERSION
- Fix MASTER_SITES and WWW in pkg-descr - Unbreak with recent GCC - Change IGNORE message so it fits nicely - Kill unneeded emply line in Makefile - Spell project name officially in Makefile header
Diffstat (limited to 'archivers/xmill')
-rw-r--r--archivers/xmill/Makefile16
-rw-r--r--archivers/xmill/pkg-descr2
2 files changed, 11 insertions, 7 deletions
diff --git a/archivers/xmill/Makefile b/archivers/xmill/Makefile
index ca4fc57870b6..81eca0f4ddfb 100644
--- a/archivers/xmill/Makefile
+++ b/archivers/xmill/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: xmill
+# New ports collection makefile for: XMill
# Date created: 09 May 2003
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
#
@@ -6,14 +6,15 @@
#
PORTNAME= xmill
-PORTVERSION= 0.7
+DISTVERSION= 0-7
CATEGORIES= archivers
-MASTER_SITES= http://www.research.att.com/~mff/XMILL/
-DISTNAME= xmill-0-7
+MASTER_SITES= http://www.research.att.com/sw/tools/XMILL/
MAINTAINER= danfe@FreeBSD.org
COMMENT= An efficient compressor for XML
+USE_REINPLACE= yes
+
NO_WRKSUBDIR= yes
MAKEFILE= makefile
@@ -22,15 +23,18 @@ USE_ZIP= yes
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE="Explicit agreement to the terms and conditions of the license required. Download ${DISTNAME}${EXTRACT_SUFX} manually from http://www.research.att.com/sw/tools/xmill/download.html, put it under ${DISTDIR} and run make again"
+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}
diff --git a/archivers/xmill/pkg-descr b/archivers/xmill/pkg-descr
index 609d4cf7fcd7..66aab703ecc2 100644
--- a/archivers/xmill/pkg-descr
+++ b/archivers/xmill/pkg-descr
@@ -6,4 +6,4 @@ between those text strings for compression. Hence, XMill typically
achieves much better compression rates than conventional compressors
such as gzip.
-WWW: http://www.research.att.com/sw/tools/xmill/
+WWW: http://www.research.att.com/sw/tools/XMILL/