a4172630d6
- Disable hot plugging in config file - Bump PKGNAME - Remove MODGNU_SHARED_LIBS while here from Douglas Santos <dsantos@hydroxyl.org> (MAINTAINER)
43 lines
973 B
Makefile
43 lines
973 B
Makefile
# $OpenBSD: Makefile,v 1.5 2006/01/08 13:33:22 alek Exp $
|
|
|
|
COMMENT= "drivers for several smart card readers"
|
|
|
|
DISTNAME= openct-0.6.6
|
|
PKGNAME= ${DISTNAME}p2
|
|
CATEGORIES= security
|
|
SHARED_LIBS= openct 1.0
|
|
|
|
HOMEPAGE= http://www.opensc.org/openct
|
|
|
|
MAINTAINER= Douglas Santos <dsantos@hydroxyl.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.opensc.org/files/
|
|
|
|
WANTLIB= c pthread
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
LIB_DEPENDS= usb.8::devel/libusb \
|
|
ltdl.4::devel/libtool,-ltdl
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu old
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--enable-static \
|
|
--sysconfdir=${SYSCONFDIR} \
|
|
--with-common-dir=${LOCALBASE}
|
|
CONFIGURE_ENV= PTHREAD_LIBS=-pthread
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openct
|
|
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf \
|
|
${PREFIX}/share/examples/openct
|
|
|
|
.include <bsd.port.mk>
|