freebsd-ports/x11-clocks/buici-clock/Makefile
Rodrigo Osorio a201883711 Update the port to v0.4.9.4 and take maintenership
Fix distfile format,WORKDIR and patch Makefile
Add license file
2017-04-02 10:32:22 +00:00

39 lines
906 B
Makefile

# Created by: Hendrik Scholz <hscholz@raisdorf.net>
# $FreeBSD$
PORTNAME= buici-clock
PORTVERSION= 0.4.9.4
CATEGORIES= x11-clocks
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Xlib implementation of an attractive, configurable clock
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcairo.so:graphics/cairo
WRKSRC= ${WRKDIR}/buici
USE_XORG= x11 xext
USES= tar:xz bison gmake pkgconfig
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE=yes
PLIST_FILES= bin/buici-clock man/man1/buici-clock.1.gz
post-patch:
@${REINPLACE_CMD} -e \
's|echo -e|echo| ; \
s|-g | |' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|_=|+=| ; \
s|-g | |' ${WRKSRC}/xo/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/buici-clock ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/buici-clock.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>