mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
36 lines
716 B
Makefile
36 lines
716 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
|
|
MASTER_SITES= http://trill.cis.fordham.edu/~barbacha/cabinet_library/
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
SRCFILE= ${WRKSRC}/listcab.cpp
|
|
PROGFILE= ${SRCFILE:S/.cpp$//}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 500035
|
|
BROKEN= "Does not compile on 5.0"
|
|
.endif
|
|
|
|
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.post.mk>
|