1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/sysutils/ck4up/Makefile
Koichiro Iwao 7e9e8d963e databases/ruby-gdbm: Gemify gdbm
since gdbm is gemified in upstream after Ruby 2.5 [1]. Ruby 2.4 can also
use the gdbm gem because it is a gem!

- Add MOVED entry
- Bump PORTEPOCH because PORTVERSION goes barwards
- Update pkg-descr and WWW
- Remove unnecessary pkg-message

[1] https://bugs.ruby-lang.org/issues/5481

Update lang/ruby* ports:

- Do not build gdbm together with Ruby interpreter, but build as a rubygem
- Remove ${BUILD_WRKSRC}/ext/gdbm instead of moving it to ${WRKDIR}
- Update pkg-message to mention rubygem-gdbm instead of ruby-gdbm

Also following changes are made to ruby-gdbm consumers:

- Updade dependency to depend on rubygem-gdbm
- Bump PORTREVISION due to dependency change

PR:		230436
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Sponsored by:	HAW International, Inc.
2019-04-02 08:02:30 +00:00

36 lines
696 B
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= ck4up
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://jue.li/crux/ck4up/
MAINTAINER= ports@FreeBSD.org
COMMENT= Check HTTP and FTP sites for updates
RUN_DEPENDS= rubygem-gdbm>=2.0.0,2:databases/rubygem-gdbm
NO_BUILD= yes
NO_ARCH= yes
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
PORTEXAMPLES= ck4up.conf
PLIST_FILES= bin/ck4up \
man/man1/ck4up.1.gz
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
${WRKSRC}/Makefile
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/ck4up.conf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>