mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
a736e4aa4e
does handle versions correctly. By the way, I'll have to find a workaround for the ruby's thread vs. libc_r (stdio/malloc) problem exposed by portversion... Hmm.
41 lines
952 B
Makefile
41 lines
952 B
Makefile
# New ports collection makefile for: portupgrade
|
|
# Date created: 18 March 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= portupgrade
|
|
PORTVERSION= 1.19
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
http://www.iDaemons.org/distfiles/
|
|
MASTER_SITE_SUBDIR= knu
|
|
DISTNAME= pkgtools-20010323
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
|
|
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
post-extract:
|
|
${RM} ${WRKSRC}/misc/zsh/_portversion
|
|
|
|
post-patch:
|
|
${RUBY} -i -pe "sub /, 'portversion'/, ''" ${WRKSRC}/install.rb
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${RUBY} install.rb
|
|
${MKDIR} ${PREFIX}/share/zsh/site-functions
|
|
${INSTALL_DATA} ${WRKSRC}/misc/zsh/* ${PREFIX}/share/zsh/site-functions/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|