mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# Created by: Martin Preuss <martin@libchipcard.de>
|
|
|
|
PORTNAME= libchipcard
|
|
PORTVERSION= 5.0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://www.aquamaniac.de/rdm/attachments/download/158/
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= Library for easy access to chipcards
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite \
|
|
libgwenhywfar.so:devel/gwenhywfar
|
|
|
|
USES= gmake libtool localbase pkgconfig ssl
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= aq_distrib_name="FreeBSD"
|
|
CONFIGURE_ARGS+=--enable-release="yes"
|
|
INSTALL_TARGET= install-strip
|
|
|
|
PLIST_SUB= GWEN_SHLIB_VER="${GWEN_SHLIB_VER}"
|
|
USE_LDCONFIG= yes
|
|
|
|
GWEN_SHLIB_VER= 79
|
|
|
|
OPTIONS_DEFINE= DOXYGEN MEMDEBUG
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
|
|
dot:graphics/graphviz
|
|
DOXYGEN_CONFIGURE_ENABLE= full-doc
|
|
|
|
MEMDEBUG_DESC= Enable memory debugger statistic
|
|
MEMDEBUG_CONFIGURE_ENABLE= memtrace
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|aq_endian\" ==|aq_endian\" =|g' \
|
|
${WRKSRC}/configure
|
|
${REINPLACE_CMD} -e 's|find chipcard|find libchipcard5|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-build-DOXYGEN-on:
|
|
@cd ${WRKSRC} && ${MAKE_CMD} srcdoc
|
|
|
|
post-install-DOXYGEN-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc
|
|
cd ${WRKSRC}/apidoc && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/apidoc
|
|
@${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \
|
|
${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|