summaryrefslogtreecommitdiff
path: root/archivers/xmill/Makefile
blob: 55a9102067e5b6edf7bf2ca3f79dc4ddafea0888 (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.8 2004/01/20 12:07:07 agc Exp $

DISTNAME=		xmill-0-7
PKGNAME=		xmill-0.7
CATEGORIES=		archivers
MASTER_SITES=		# empty
EXTRACT_SUFX=		.zip

MAINTAINER=		ben@NetBSD.org
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}

WRKSRC=			${WRKDIR}
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"