1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/ck4up/Makefile
Mathieu Arnold 4a3bebcae1 Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:15:47 +00:00

35 lines
683 B
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= ck4up
PORTVERSION= 1.4
CATEGORIES= sysutils
MASTER_SITES= http://jue.li/crux/ck4up/
MAINTAINER= ports@FreeBSD.org
COMMENT= Checks http and ftp sites for updates
RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/gdbm.so:databases/ruby-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>