mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
33 lines
849 B
Makefile
33 lines
849 B
Makefile
# Created by: Max Khon <fjoe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= open
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.hs-niederrhein.de/pub/linux/src/ \
|
|
ftp://ftp.uni-bremen.de/pub/mirrors/sunsite/utils/console/ \
|
|
LOCAL/fjoe
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= Open opens a new vt and runs a command on it
|
|
|
|
ALL_TARGET= open
|
|
PLIST_FILES= bin/open man/man1/open.1.gz
|
|
OPTIONS_DEFINE= SETUID
|
|
SETUID_DESC= Install setuid open binary
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/open ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/open.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
.if ${PORT_OPTIONS:MSETUID}
|
|
${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/open
|
|
.else
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|