aboutsummaryrefslogtreecommitdiffstats
path: root/www/aria/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/aria/Makefile')
-rw-r--r--www/aria/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/www/aria/Makefile b/www/aria/Makefile
index 9825d6ffb17e..67ab1d8d4468 100644
--- a/www/aria/Makefile
+++ b/www/aria/Makefile
@@ -7,9 +7,11 @@
PORTNAME= aria
PORTVERSION= 0.10.1
+PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= http://aria.rednoah.com/storage/sources/
-DISTNAME= ${PORTNAME}-0.10.1test9
+MASTER_SITES= http://rabien.virtualave.net/linux/storage/sources/ \
+ http://aria.rednoah.com/storage/sources/
+DISTNAME= ${PORTNAME}-0.10.1test21
MAINTAINER= nakai@FreeBSD.org
@@ -18,15 +20,18 @@ USE_GTK= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \
- --datadir=${PREFIX}/share
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/README.euc ${PREFIX}/share/doc/${PORTNAME}/
+.endif
.include <bsd.port.mk>