46cf4bcb84
Also the compat NO_INSTALL_MANPAGES shim. Differential Revision: https://reviews.freebsd.org/D730 Reviewed by: antoine With hat: portmgr Sponsored by: Absolight
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dialog4ports
|
|
PORTVERSION= 0.1.5
|
|
PORTREVISION?= 2
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= http://m1cro.me/dialog4ports/ \
|
|
http://files.etoilebsd.net/dialog4ports/ \
|
|
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
|
|
http://m1cro.me/dialog4ports/:dialog \
|
|
http://files.etoilebsd.net/dialog4ports/:dialog \
|
|
ftp://invisible-island.net/dialog/:dialog \
|
|
http://mirror.shatow.net/freebsd/${PORTNAME}/:dialog
|
|
|
|
MAINTAINER= rum1cro@yandex.ru
|
|
COMMENT?= Console Interface to configure ports
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= uidfix
|
|
|
|
# CCACHE has options, so may need d4p, make d4p not ccache friendly
|
|
# to avoid circular dependency
|
|
NO_CCACHE= yes
|
|
MAKE_ENV+= __MAKE_CONF=/dev/null SRCCONF=/dev/null
|
|
|
|
.if !defined(D4P_SLAVE)
|
|
PLIST_FILES= bin/dialog4ports man/man1/${PORTNAME}.1.gz
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(DEBUG_FLAGS)
|
|
MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}"
|
|
.endif
|
|
|
|
## This is used by 'make config' via Tools/scripts/dialog4ports.sh
|
|
## Use caution in changing
|
|
.if !exists(${DIALOG4PORTS})
|
|
DIALOG4PORTS= ${WRKSRC}/dialog4ports
|
|
.endif
|
|
|
|
.if ${OSVERSION} < 900030 || defined(D4P_SLAVE)
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
|
${DIALOGNAME}.tgz:dialog
|
|
DIALOGNAME= dialog-1.1-20120706
|
|
|
|
MAKE_ENV+= DIALOGSOURCES=${WRKDIR}/${DIALOGNAME}
|
|
|
|
do-configure:
|
|
@cd ${WRKDIR}/${DIALOGNAME}; ./configure
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|