aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libcabinet/Makefile
blob: e49b87ee2be53f6563bb9c7332674de8c1bb521f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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$//}

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>