mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
30 lines
704 B
Makefile
30 lines
704 B
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libcabinet
|
|
PORTVERSION= 0.30
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
USES= uidfix
|
|
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-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/include/cabinet
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${PROGFILE} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|