freebsd-ports/ports-mgmt/portmaster/Makefile
Bryan Drewery 3b9dc59b3f - Update to 3.15
- Add extra mirror
- Remove PKGNGPATCH option

Changes:
  - The pkgng patch has been fully integrated upstream with its
    history copied from the pkgng repo over to portmaster's repo
  - Add extra messages before/after killing background processes so
    that 'Terminated' messages look less unexpected
  - Fix running from / trying to build the entire tree
  - pkgng: Fix -s not respecting the automatic flag
  - Fix "Argument list too long" errors
  - Add PM_SU_CMD documentation to the sample config file [1]
  - Fix -o not showing the specified origin [pkgng patch bug]

Submitted by: Oleg Pudeyev <oleg@bsdpower.com> [1]
2013-03-29 20:43:54 +00:00

64 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= portmaster
PORTVERSION= 3.15
CATEGORIES= ports-mgmt
MASTER_SITES= GH \
LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/portmaster/
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Manage your ports without external databases or languages
LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= portmaster
GH_COMMIT= 36a0273
GH_TAGNAME= ${GH_COMMIT}
OPTIONS_DEFINE= BASH ZSH
PLIST_FILES= sbin/portmaster etc/portmaster.rc.sample
MAN8= portmaster.8
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBASH}
PLIST_FILES+= etc/bash_completion.d/portmaster.sh
PLIST_DIRSTRY+= etc/bash_completion.d
.endif
.if ${PORT_OPTIONS:MZSH}
PLIST_FILES+= share/zsh/site-functions/_portmaster
PLIST_DIRSTRY+= share/zsh/site-functions share/zsh
.endif
verify: checksum
do-build:
.for file in portmaster files/portmaster.rc.sample
${SED} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/${file} \
> ${WRKDIR}/${file:T}
.endfor
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/portmaster ${PREFIX}/sbin/portmaster
${INSTALL_DATA} ${WRKDIR}/portmaster.rc.sample ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/files/portmaster.8 ${MAN8PREFIX}/man/man8
post-install:
.if ${PORT_OPTIONS:MBASH}
${MKDIR} ${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/files/bash-completions \
${PREFIX}/etc/bash_completion.d/portmaster.sh
.endif
.if ${PORT_OPTIONS:MZSH}
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/files/zsh-completions \
${PREFIX}/share/zsh/site-functions/_portmaster
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>