2001-03-31 13:04:35 +02:00
|
|
|
# New ports collection makefile for: aria
|
|
|
|
# Date created: 30 March 2001
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= aria
|
2003-07-11 20:53:29 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2001-03-31 13:04:35 +02:00
|
|
|
CATEGORIES= www
|
2001-10-23 08:34:39 +02:00
|
|
|
MASTER_SITES= http://rabien.virtualave.net/linux/storage/sources/ \
|
|
|
|
http://aria.rednoah.com/storage/sources/
|
2001-03-31 13:04:35 +02:00
|
|
|
|
2003-07-11 20:53:29 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Yet another download tool
|
2001-03-31 13:04:35 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2003-07-11 20:53:29 +02:00
|
|
|
USE_X_PREFIX= yes
|
2004-04-09 20:20:43 +02:00
|
|
|
USE_GNOME= gnometarget gtk12
|
2002-01-21 03:03:15 +01:00
|
|
|
USE_OPENSSL= yes
|
2004-04-09 20:20:43 +02:00
|
|
|
USE_GETOPT_LONG= yes
|
2003-07-11 20:53:29 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-03-31 13:04:35 +02:00
|
|
|
USE_GMAKE= yes
|
2004-04-09 20:20:43 +02:00
|
|
|
USE_LIBTOOL_VER= 13
|
2003-07-11 20:53:29 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-06-05 00:43:38 +02:00
|
|
|
|
2003-07-11 20:53:29 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/src/getopt*
|
2003-06-05 00:43:38 +02:00
|
|
|
|
2003-07-11 20:53:29 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|-lssl|-lcrypto -lssl|g ; \
|
2001-10-23 08:34:39 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2003-07-11 20:53:29 +02:00
|
|
|
@${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' \
|
2002-01-14 14:05:16 +01:00
|
|
|
${WRKSRC}/src/Makefile.in
|
2003-07-11 20:53:29 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|"getopt.h"|<getopt.h>|g' \
|
|
|
|
${WRKSRC}/src/main.cc
|
2003-09-04 16:27:06 +02:00
|
|
|
|
2001-10-23 08:34:39 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-07-11 20:53:29 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.euc ${DOCSDIR}
|
2001-10-23 08:34:39 +02:00
|
|
|
.endif
|
2001-03-31 13:04:35 +02:00
|
|
|
|
2004-04-12 05:54:52 +02:00
|
|
|
.include <bsd.port.mk>
|