aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-07-12 02:53:29 +0800
committernork <nork@FreeBSD.org>2003-07-12 02:53:29 +0800
commitcd109814d37148023bf08deec6df7f243876318a (patch)
tree16ab9a246ab7ee8049d0d09953d0728485c07af5
parent5a00e55e2806e97e7c0efb0d60ffcfe5891feb22 (diff)
downloadfreebsd-ports-gnome-cd109814d37148023bf08deec6df7f243876318a.tar.gz
freebsd-ports-gnome-cd109814d37148023bf08deec6df7f243876318a.tar.zst
freebsd-ports-gnome-cd109814d37148023bf08deec6df7f243876318a.zip
o Update to 1.0.0 [1].
o Drop MAINTAINERship. PR: ports/52579 [1] Submitted by: Ports Fury [1] Approved by: maintainer timeout (a long time)
-rw-r--r--www/aria/Makefile46
-rw-r--r--www/aria/distinfo2
-rw-r--r--www/aria/pkg-plist4
3 files changed, 31 insertions, 21 deletions
diff --git a/www/aria/Makefile b/www/aria/Makefile
index 514611233893..7d1080222395 100644
--- a/www/aria/Makefile
+++ b/www/aria/Makefile
@@ -6,43 +6,51 @@
#
PORTNAME= aria
-PORTVERSION= 0.10.2.t5
-PORTREVISION= 1
+PORTVERSION= 1.0.0
CATEGORIES= www
MASTER_SITES= http://rabien.virtualave.net/linux/storage/sources/ \
http://aria.rednoah.com/storage/sources/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.t/test/}
-MAINTAINER= nakai@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Yet another download tool
USE_BZIP2= yes
+USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_OPENSSL= yes
+USE_GETOPT_LONG=yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_X_PREFIX= yes
USE_LIBTOOL= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not build"
-.endif
+CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
+LDFLAGS= -L${LOCALBASE}/lib
+
+post-extract:
+ @${RM} -f ${WRKSRC}/src/getopt*
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g; \
- s|-lssl|-lcrypto -lssl|g; \
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|-lssl|-lcrypto -lssl|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${PERL} -pi -e 's|^CXXFLAGS.*|CXXFLAGS = \@CXXFLAGS\@|' \
+ @${REINPLACE_CMD} -e 's| -O2 -Wall | @CXXFLAGS@ |g ; \
+ s|getopt.c getopt1.c getopt.h||g ; \
+ s|getopt.o getopt1.o||g ; \
+ s|\.deps/getopt.P ||g ; \
+ s|\.deps/getopt1.P ||g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's| -O2 -Wall | @CXXFLAGS@ |g' \
${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|"getopt.h"|<getopt.h>|g' \
+ ${WRKSRC}/src/main.cc
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}/
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.euc ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/aria/distinfo b/www/aria/distinfo
index de0d92b85f6c..8a8ea3608934 100644
--- a/www/aria/distinfo
+++ b/www/aria/distinfo
@@ -1 +1 @@
-MD5 (aria-0.10.2test5.tar.bz2) = 8665887ff9b3c044a740583d301e5c9d
+MD5 (aria-1.0.0.tar.bz2) = e4e968fd10f3beb2402b851f5dad74ff
diff --git a/www/aria/pkg-plist b/www/aria/pkg-plist
index 6dc7cfd103af..07463186351b 100644
--- a/www/aria/pkg-plist
+++ b/www/aria/pkg-plist
@@ -13,8 +13,10 @@ share/locale/de/LC_MESSAGES/aria.mo
share/locale/es/LC_MESSAGES/aria.mo
share/locale/fr/LC_MESSAGES/aria.mo
share/locale/hu/LC_MESSAGES/aria.mo
+share/locale/it/LC_MESSAGES/aria.mo
share/locale/ja/LC_MESSAGES/aria.mo
share/locale/pl/LC_MESSAGES/aria.mo
share/locale/ru/LC_MESSAGES/aria.mo
-@dirrm share/aria
+share/locale/zh_TW/LC_MESSAGES/aria.mo
%%PORTDOCS%%@dirrm share/doc/aria
+@dirrm share/aria