blob: 0d3b05896c477088aa0fc963b624d49d330c3205 (
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
|
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
# $FreeBSD$
PORTNAME= xmill
DISTVERSION= 0.8
CATEGORIES= archivers
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Efficient compressor for XML
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
USES= dos2unix zip
DOS2UNIX_FILES= ${MAKEFILE} XMill/BZlib.cpp
PLIST_FILES= bin/xcmill bin/xdemill bin/xmilltest bin/xmillexample \
bin/xmillinspect bin/ppmzip
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-patch:
# Allow to build with modern GCC
@${REINPLACE_CMD} -e 's,friend,& class,' ${WRKSRC}/XMill/*.?pp \
${WRKSRC}/xmillinspect/xmillinspect.h
do-install:
.for p in ${PLIST_FILES:T}
${INSTALL_PROGRAM} ${WRKSRC}/unix/${p} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/documentation/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|