2013-01-28 10:57:32 +01:00
|
|
|
# Created by: James Hunt <james.hunt@ubuntu.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= procenv
|
2014-08-24 15:54:54 +02:00
|
|
|
PORTVERSION= 0.36
|
2013-01-28 10:57:32 +01:00
|
|
|
CATEGORIES= sysutils
|
2013-05-11 23:21:37 +02:00
|
|
|
MASTER_SITES= https://launchpad.net/procenv/trunk/${PORTVERSION}/+download/ \
|
2014-08-24 15:54:54 +02:00
|
|
|
http://people.canonical.com/~jhunt/debian/procenv/${PORTVERSION}/ \
|
|
|
|
DEBIAN
|
2013-01-28 10:57:32 +01:00
|
|
|
|
|
|
|
MAINTAINER= james.hunt@ubuntu.com
|
|
|
|
COMMENT= Utility to show process environment
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2014-02-07 18:10:46 +01:00
|
|
|
BUILD_DEPENDS= xmlwf:${PORTSDIR}/textproc/expat2
|
|
|
|
|
2013-01-28 10:57:32 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-05-28 14:04:08 +02:00
|
|
|
USES= gmake perl5
|
2013-07-14 22:58:34 +02:00
|
|
|
USE_AUTOTOOLS= aclocal automake
|
2014-05-28 14:04:08 +02:00
|
|
|
USE_PERL5= build
|
2013-07-14 22:58:34 +02:00
|
|
|
|
2014-02-07 18:10:46 +01:00
|
|
|
PLIST_FILES= bin/procenv \
|
|
|
|
man/man1/procenv.1.gz
|
2013-01-28 10:57:32 +01:00
|
|
|
|
2013-07-14 22:58:34 +02:00
|
|
|
# Test to ensure procenv will actually run.
|
|
|
|
#
|
|
|
|
# This has the attractive side-effect of displaying the environment
|
|
|
|
# of the build system which may be of interest to those fixing FTBFS
|
|
|
|
# packages that build correctly locally.
|
|
|
|
regression-test: build
|
2014-02-07 18:10:46 +01:00
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
|
2013-07-14 22:58:34 +02:00
|
|
|
|
|
|
|
test: regression-test
|
|
|
|
|
2014-02-07 18:10:46 +01:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/procenv
|
|
|
|
|
2014-05-28 14:04:08 +02:00
|
|
|
.include <bsd.port.mk>
|