mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
a58c915e43
survey; note that archivers/cabextract still seems to be in active development.
33 lines
798 B
Makefile
33 lines
798 B
Makefile
# New ports collection makefile for: libcabinet
|
|
# Date Created: 30 November 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libcabinet
|
|
PORTVERSION= 0.30
|
|
CATEGORIES= archivers
|
|
# mastersites have disappeared as of August 2003. Perhaps consider
|
|
# trying archivers/cabextract instead.
|
|
MASTER_SITES= # http://trill.cis.fordham.edu/~barbacha/cabinet_library/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A portable library and utility to use Microsoft cabinet files (.cab)
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
SRCFILE= ${WRKSRC}/listcab.cpp
|
|
PROGFILE= ${SRCFILE:S/.cpp$//}
|
|
|
|
post-build:
|
|
${CXX} ${CXXFLAGS} -o ${PROGFILE} ${SRCFILE} -L${WRKSRC} -lcabinet
|
|
|
|
pre-install:
|
|
${MKDIR} ${PREFIX}/include/cabinet
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${PROGFILE} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|