diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-11-30 03:50:54 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-11-30 03:50:54 +0800 |
commit | 19361269435bac32672423ee61ff0cc08f24d3d0 (patch) | |
tree | caacb99ff0ad0086c1941583acf6aa24e4a9fee6 /www | |
parent | d7bf791061048b8fa93b1bf2fc961c65908adba6 (diff) | |
download | freebsd-ports-gnome-19361269435bac32672423ee61ff0cc08f24d3d0.tar.gz freebsd-ports-gnome-19361269435bac32672423ee61ff0cc08f24d3d0.tar.zst freebsd-ports-gnome-19361269435bac32672423ee61ff0cc08f24d3d0.zip |
- Build and install libaria2
- Strip shared library
- Bump PORTREVISION for package change
Diffstat (limited to 'www')
-rw-r--r-- | www/aria2/Makefile | 11 | ||||
-rw-r--r-- | www/aria2/pkg-plist | 7 |
2 files changed, 15 insertions, 3 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile index cebedbca4370..6466eb3b1ce9 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -3,6 +3,7 @@ PORTNAME= aria2 PORTVERSION= 1.18.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} @@ -16,9 +17,9 @@ OPTIONS_DEFAULT=SQLITE OPTIONS_SUB= yes CA_BUNDLE_DESC= Use CA bundle from Mozilla Project -CONFIGURE_ARGS= --disable-epoll --enable-bittorrent --enable-metalink \ - --enable-shared --enable-threads=posix \ - --with-disk-cache=${ARIA2_DISK_CACHE} \ +CONFIGURE_ARGS= --disable-epoll --enable-bittorrent --enable-libaria2 \ + --enable-metalink --enable-shared --enable-static \ + --enable-threads=posix --with-disk-cache=${ARIA2_DISK_CACHE} \ --with-libxml2 --with-libz --with-openssl --without-gnutls \ --without-libcares --without-libexpat --without-libgcrypt \ --without-libgmp --without-libnettle @@ -28,6 +29,7 @@ CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} OPENSSL_LIBS="-L${OPENSSLLIB} -lcr GNU_CONFIGURE= yes USE_CXXSTD= c++11 USE_GNOME= libxml2 +USE_LDCONFIG= yes USE_OPENSSL= yes USE_XZ= yes USES= compiler:c++11-lib pathfix pkgconfig @@ -59,6 +61,9 @@ post-patch: @${REINPLACE_CMD} -e 's|\(install-exec-am\) install-data-am|\1|' ${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in .endif +post-build: + @${STRIP_CMD} ${WRKSRC}/src/.libs/libaria2.so.0 + post-install: .if ${PORT_OPTIONS:MDOCS} @${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}/ diff --git a/www/aria2/pkg-plist b/www/aria2/pkg-plist index 3a52f69d7b37..d27fcce8cab3 100644 --- a/www/aria2/pkg-plist +++ b/www/aria2/pkg-plist @@ -1,4 +1,10 @@ bin/aria2c +include/aria2/aria2.h +lib/libaria2.a +lib/libaria2.la +lib/libaria2.so +lib/libaria2.so.0 +libdata/pkgconfig/libaria2.pc man/man1/aria2c.1.gz man/pt/man1/aria2c.1.gz man/ru/man1/aria2c.1.gz @@ -71,3 +77,4 @@ man/ru/man1/aria2c.1.gz @dirrmtry man/ru @dirrmtry man/pt/man1 @dirrmtry man/pt +@dirrmtry include/aria2 |