diff options
author | kwm <kwm@FreeBSD.org> | 2014-08-12 22:14:37 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-08-12 22:14:37 +0800 |
commit | f38bf9a043e409f21dfe2021b6bd252f882e510e (patch) | |
tree | 33cf2a26fa9c485f78b5247d4dddf0281cd83264 /security/libpwquality | |
parent | 88ca26f6a4303b197caae52c028c6fb3645d7b2c (diff) | |
download | freebsd-ports-gnome-f38bf9a043e409f21dfe2021b6bd252f882e510e.tar.gz freebsd-ports-gnome-f38bf9a043e409f21dfe2021b6bd252f882e510e.tar.zst freebsd-ports-gnome-f38bf9a043e409f21dfe2021b6bd252f882e510e.zip |
Update to 1.2.4.
Drop :keepla from USES=libtool.
Use new option handlers, use INSTALL_TARGET for stripping, and don't link
implicitly agains -lintl.
Diffstat (limited to 'security/libpwquality')
-rw-r--r-- | security/libpwquality/Makefile | 29 | ||||
-rw-r--r-- | security/libpwquality/distinfo | 4 | ||||
-rw-r--r-- | security/libpwquality/pkg-plist | 3 |
3 files changed, 11 insertions, 25 deletions
diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile index dd188d7112a5..39f0c35fa08c 100644 --- a/security/libpwquality/Makefile +++ b/security/libpwquality/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= libpwquality -PORTVERSION= 1.2.3 -PORTREVISION= 1 +PORTVERSION= 1.2.4 CATEGORIES= security MASTER_SITES= https://fedorahosted.org/releases/l/i/libpwquality/ @@ -11,36 +10,24 @@ COMMENT= Library for generating random passwords and quality checking LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib -USES= gettext gmake libtool:keepla pathfix tar:bzip2 +USES= gettext gmake libtool pathfix tar:bzip2 USE_GNOME= intltool GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS+=--disable-pam CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lintl +LDFLAGS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT=PYTHON - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MPYTHON} -USE_PYTHON= yes -BUILD_DEPENDS= python:${PORTSDIR}/lang/python -CONFIGURE_ARGS+=--enable-python-bindings -PLIST_SUB+= PYTHON="" -.else -CONFIGURE_ARGS+=--disable-python-bindings -PLIST_SUB+= PYTHON="@comment " -.endif +OPTIONS_SUB= yes +PYTHON_USES= python +PYTHON_BUILD_DEPENDS= python:${PORTSDIR}/lang/python +PYTHON_CONFIGURE_ENABLE= python-bindings post-patch: @${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \ ${WRKSRC}/python/Makefile.in -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpwquality.so.1 - @${CHMOD} 755 ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality.so - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality.so - .include <bsd.port.mk> diff --git a/security/libpwquality/distinfo b/security/libpwquality/distinfo index 314e88767aab..f0a408667450 100644 --- a/security/libpwquality/distinfo +++ b/security/libpwquality/distinfo @@ -1,2 +1,2 @@ -SHA256 (libpwquality-1.2.3.tar.bz2) = b11c79ce7b03cdf878fccb653e67bd430155cc6fd224efbbb3e78842f752516a -SIZE (libpwquality-1.2.3.tar.bz2) = 367794 +SHA256 (libpwquality-1.2.4.tar.bz2) = 9ad67be364a66dc8b334a473c77d9f531137ee0e9d85d81f567f410a375857c7 +SIZE (libpwquality-1.2.4.tar.bz2) = 394060 diff --git a/security/libpwquality/pkg-plist b/security/libpwquality/pkg-plist index 44854c8129b9..8e5dd6201296 100644 --- a/security/libpwquality/pkg-plist +++ b/security/libpwquality/pkg-plist @@ -3,11 +3,11 @@ bin/pwscore etc/security/pwquality.conf include/pwquality.h lib/libpwquality.a -lib/libpwquality.la lib/libpwquality.so lib/libpwquality.so.1 lib/libpwquality.so.1.0.2 %%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality.so +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.2.4-py2.7.egg-info libdata/pkgconfig/pwquality.pc man/man1/pwmake.1.gz man/man1/pwscore.1.gz @@ -37,7 +37,6 @@ share/locale/ko/LC_MESSAGES/libpwquality.mo share/locale/ml/LC_MESSAGES/libpwquality.mo share/locale/mr/LC_MESSAGES/libpwquality.mo share/locale/mr_IN/LC_MESSAGES/libpwquality.mo -share/locale/ms/LC_MESSAGES/libpwquality.mo share/locale/nb/LC_MESSAGES/libpwquality.mo share/locale/nl/LC_MESSAGES/libpwquality.mo share/locale/or/LC_MESSAGES/libpwquality.mo |