freebsd-ports/archivers/libcabinet/Makefile
Alexey Dokuchaev 142171e3f3 For a number of ports in archives category, trim the header and drop leading
indefinite article from COMMENT line; also fix few noticed styles bugs while
I am here.
2012-12-18 07:57:31 +00:00

26 lines
585 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $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$//}
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 <bsd.port.mk>