# Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= libcabinet PORTVERSION= 0.30 CATEGORIES= archivers MASTER_SITES= http://www.bsd-geek.de/FreeBSD/distfiles/ MAINTAINER= tj@FreeBSD.org COMMENT= Portable library and utility to use Microsoft cabinet files (.cab) USE_LDCONFIG= yes SRCFILE= ${WRKSRC}/listcab.cpp PROGFILE= ${SRCFILE:S/.cpp$//} MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null post-build: ${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet pre-su-install: ${MKDIR} ${PREFIX}/include/cabinet post-install: ${INSTALL_PROGRAM} ${PROGFILE} ${PREFIX}/bin .include