aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/pkg_trackinst/Makefile
blob: 0da87bbe4a274e7f60dec28aa70def4f76256281 (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:    pkg_trackinst
# Date created:     3 May 2005
# Whom:         Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   pkg_trackinst
PORTVERSION=    1.2.2
CATEGORIES= sysutils
MASTER_SITES=   http://people.freebsd.org/~perky/distfiles/

MAINTAINER= perky@FreeBSD.org
COMMENT=    PkgDB/pkg-plist generator by tracking installation

USE_PYTHON= 2.3+
USE_REINPLACE=  yes
MAKE_ENV=   PYTHON_CMD=${PYTHON_CMD}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 501105
IGNORE=     requires dynamically-linked base programs
.endif

post-patch:
    ${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
        ${WRKSRC}/PkgTrackInst/cmd_support.py

.include <bsd.port.post.mk>