summaryrefslogtreecommitdiff
path: root/archivers/xmill/Makefile
blob: c4dde59201d9a36e2ef0f3b75a0803976ca4a245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $NetBSD: Makefile,v 1.5 2003/10/07 03:45:13 rtr Exp $

DISTNAME=		xmill-0-7
PKGNAME=		xmill-0.7
WRKSRC=			${WRKDIR}
CATEGORIES=		archivers
MASTER_SITES=		# empty
EXTRACT_SUFX=		.zip

MAINTAINER=		collver1@comcast.net
HOMEPAGE=		http://www.research.att.com/sw/tools/xmill/
COMMENT=		Specialized compressor for XML

BUILD_DEPENDS=		unzip-[0-9]*:../../archivers/unzip

EXTRACT_CMD=		${LOCALBASE}/bin/unzip -aq ${DOWNLOADED_DISTFILE}

USE_GMAKE=		#defined
MAKEFILE=		makefile

RESTRICTED=		"Redistribution not permitted"
NO_SRC_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

DOWNLOAD=		http://www.research.att.com/sw/tools/xmill/download.html
#DOWNLOAD=		http://www.research.att.com/~mff/XMILL/xmill-0-7.zip

_FETCH_MESSAGE= \
	    ${ECHO} "==============================================================="; \
	    ${ECHO} "  XMILL distribution package must be fetched"; \
	    ${ECHO} "  into ${DISTDIR} from"; \
	    ${ECHO} "  ${DOWNLOAD}"; \
	    ${ECHO} "==============================================================="

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmill
	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${PREFIX}/share/doc/xmill
	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${PREFIX}/share/doc/xmill
	${INSTALL_DATA} ${WRKSRC}/MANUAL.txt ${PREFIX}/share/doc/xmill
	${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/xmill
	${INSTALL_DATA} ${WRKSRC}/paper/xmill.ps.gz ${PREFIX}/share/doc/xmill
	${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

.include "../../mk/bsd.pkg.mk"