aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cfvers/Makefile
blob: 4db1ca60e7fe75fa175956c2347bc694b50b6dde (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
30
31
32
33
34
35
36
37
# New ports collection makefile for:    cfvers
# Date created:             2004-10-06
# Whom:                 janos.mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=   cfvers
PORTVERSION=    0.4.6
CATEGORIES= sysutils devel
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Configuration versioning system

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/sqlite/main.py:${PORTSDIR}/databases/py-PySQLite10

USE_GMAKE=  yes
USE_PYTHON= yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes

MAN1=       cfv.1 cfvadmin.1
DOCS=       AUTHORS NEWS README TODO doc/*.html

post-configure:
    ${REINPLACE_CMD} -e 's,/etc/cfvers.conf,${PREFIX}/etc/cfvers.conf,g' \
        ${WRKSRC}/cfvers/cmd.py

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>