11b0cf068b
(And in some case, reorder the Makefiles a bit to complie with the handbook.)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= fprintd
|
|
DISTVERSIONPREFIX= V_
|
|
DISTVERSION= 0_8_1
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= la5lbtyi@aon.at
|
|
COMMENT= Daemon that provides fingerprint scanning functionality over D-Bus
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libfprint.so:security/libfprint \
|
|
libdbus-1.so:devel/dbus \
|
|
libdbus-glib-1.so:devel/dbus-glib \
|
|
libpolkit-gobject-1.so:sysutils/polkit
|
|
|
|
USES= autoreconf:build gettext gmake gnome libtool pkgconfig
|
|
USE_GNOME= intltool glib20
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= freedesktop
|
|
GH_PROJECT= libfprint-${PORTNAME}
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
MAKE_ARGS= sysconfdir="${ETCDIR}/" mandir="${MANDIRS}"
|
|
|
|
OPTIONS_DEFINE= NLS PAM
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
PAM_CONFIGURE_ENABLE= pam
|
|
|
|
do-configure:
|
|
(cd ${WRKSRC} ; ${SH} autogen.sh)
|
|
|
|
# Remove doc build ; Doesn't install with/without
|
|
# Also less deps needed
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e '/pushd/d ; /docize/d ; /popd/d' ${WRKSRC}/autogen.sh
|
|
${REINPLACE_CMD} -e '73,81d' ${WRKSRC}/doc/Makefile.am
|
|
${REINPLACE_CMD} -e '/DOC_CHECK/d' ${WRKSRC}/configure.ac
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/security/pam_fprintd.so
|
|
|
|
.include <bsd.port.mk>
|