ports/52579: Update port: www/aria to 1.0.0
KATO Tsuguru
tkato at prontomail.com
Thu May 22 15:20:19 UTC 2003
>Number: 52579
>Category: ports
>Synopsis: Update port: www/aria to 1.0.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 22 08:20:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/www/aria/Makefile www/aria/Makefile
--- /usr/ports/www/aria/Makefile Sun May 18 22:40:20 2003
+++ www/aria/Makefile Thu May 22 23:53:16 2003
@@ -6,43 +6,50 @@
#
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 at FreeBSD.org
COMMENT= Yet another download tool
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not build"
-.endif
-
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"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+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; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${PERL} -pi -e 's|^CXXFLAGS.*|CXXFLAGS = \@CXXFLAGS\@|' \
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|-lssl|-lcrypto -lssl|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${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 -urN /usr/ports/www/aria/distinfo www/aria/distinfo
--- /usr/ports/www/aria/distinfo Sun Mar 3 20:50:41 2002
+++ www/aria/distinfo Thu May 22 22:04:57 2003
@@ -1 +1 @@
-MD5 (aria-0.10.2test5.tar.bz2) = 8665887ff9b3c044a740583d301e5c9d
+MD5 (aria-1.0.0.tar.bz2) = e4e968fd10f3beb2402b851f5dad74ff
diff -urN /usr/ports/www/aria/pkg-plist www/aria/pkg-plist
--- /usr/ports/www/aria/pkg-plist Mon Feb 18 16:35:43 2002
+++ www/aria/pkg-plist Thu May 22 22:04:57 2003
@@ -13,8 +13,10 @@
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
- at dirrm share/aria
+share/locale/zh_TW/LC_MESSAGES/aria.mo
%%PORTDOCS%%@dirrm share/doc/aria
+ at dirrm share/aria
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list