blob: 1d181df6e6d2c555911d00863aa97f7f7028e5cb (
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
|
PORTNAME= xmill
DISTVERSION= 0.8
CATEGORIES= archivers
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Efficient compressor for XML
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= dos2unix zip
DOS2UNIX_FILES= ${MAKEFILE} XMill/*.cpp
MAKEFILE= makefile
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/xcmill bin/xdemill bin/xmilltest bin/xmillexample \
bin/xmillinspect bin/ppmzip
OPTIONS_DEFINE= DOCS EXAMPLES
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}
(cd ${WRKSRC}/unix && ${INSTALL_PROGRAM} ${p} ${STAGEDIR}${PREFIX}/bin)
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/documentation && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|