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
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 5
|
2001-03-31 13:04:35 +02:00
|
|
|
CATEGORIES= www
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}-rpm/Aria%20Sources/${PORTVERSION}-official
|
2001-03-31 13:04:35 +02:00
|
|
|
|
2010-04-29 00:22:27 +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
|
|
|
|
2009-05-16 08:27:56 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2001-03-31 13:04:35 +02:00
|
|
|
USE_BZIP2= yes
|
2007-11-08 01:41:43 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
2006-01-26 05:06:59 +01:00
|
|
|
USE_GETTEXT= yes
|
2007-11-08 01:41:43 +01:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2004-04-09 20:20:43 +02:00
|
|
|
USE_GNOME= gnometarget gtk12
|
2002-01-21 03:03:15 +01:00
|
|
|
USE_OPENSSL= yes
|
2001-03-31 13:04:35 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-07-11 20:53:29 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-11-08 01:41:43 +01:00
|
|
|
PORTDOCS= README README.euc
|
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)
|
2007-11-08 01:41:43 +01:00
|
|
|
@${INSTALL} -d ${DOCSDIR}
|
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${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>
|