aboutsummaryrefslogtreecommitdiff
path: root/archivers/xmill
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-26 16:59:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-26 16:59:24 +0000
commit05f96f7d0011b47216feb064091aba9da47e97c3 (patch)
treef38ef8b73f6bc6db212fa1552d0d4d552b5117a0 /archivers/xmill
parent2aea5acaaba2639c81b8bc2714d9bfc3b77ffcb0 (diff)
downloadports-05f96f7d0011b47216feb064091aba9da47e97c3.tar.gz
ports-05f96f7d0011b47216feb064091aba9da47e97c3.zip
Notes
Diffstat (limited to 'archivers/xmill')
-rw-r--r--archivers/xmill/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/archivers/xmill/Makefile b/archivers/xmill/Makefile
index 52489451cafb..0c521be05cc3 100644
--- a/archivers/xmill/Makefile
+++ b/archivers/xmill/Makefile
@@ -5,6 +5,7 @@ PORTNAME= xmill
DISTVERSION= 0.8
CATEGORIES= archivers
MASTER_SITES= SF
+EXTRACT_SUFX= .zip
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Efficient compressor for XML
@@ -12,9 +13,8 @@ COMMENT= Efficient compressor for XML
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
-NO_STAGE= yes
-USE_ZIP= yes
-USE_DOS2UNIX= ${MAKEFILE} XMill/BZlib.cpp
+USES= dos2unix
+DOS2UNIX_FILES= ${MAKEFILE} XMill/BZlib.cpp
PLIST_FILES= bin/xcmill bin/xdemill bin/xmilltest bin/xmillexample \
bin/xmillinspect bin/ppmzip
@@ -33,15 +33,11 @@ post-patch:
do-install:
.for p in ${PLIST_FILES:T}
- ${INSTALL_PROGRAM} ${WRKSRC}/unix/${p} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unix/${p} ${STAGEDIR}${PREFIX}/bin
.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/documentation/* ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/documentation/* ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>