mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
b0e48fcbd6
Submitted by: rum1cro@yandex.ru (maintainer)
58 lines
1.4 KiB
Makefile
58 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
|
|
MANCOMPRESSED= 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>
|