source: trunk/dports/x11/abclock/Portfile

Last change on this file was 134318, checked in by ionic@…, 3 years ago

Mass-update: add modeline where appropriate, change binary install permissions to 755. Fixes: #47229.

Affects:

mp3_check
iozone
nbench-byte
cvsdiff2patch
cursive
geekcode
ski
vms-empire
wtf
thirdeye
jikespg
aget
ddclient
ipsvd
mudix
nsping
rabbitmq-server
tcptrace
tnftpd
ksh93
buffer
dtach
keychain
chmdump
rfcdiff
webredirect
abclock

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 134318 2015-03-22 06:42:51Z ryandesign@macports.org $
3
4PortSystem 1.0
5name             abclock
6version          1.0d
7revision         3
8categories       x11
9license          GPL-2+
10maintainers      nomaintainer
11description      analog clock for X
12long_description \
13    Analogue Bitmap Clock displays the current time with \
14    hours and minutes in an analogue fashion but unlike \
15    the traditional clock\; unlike ordinary analogue clocks, \
16    this design is clear even in very small bitmaps.
17homepage         http://odur.let.rug.nl/~kleiweg/abclock/
18platforms        darwin
19master_sites     ${homepage}
20checksums        md5 a0175114294c63e13a061535823db1bf
21
22patch {
23    reinplace "s|#include <values.h>||" ${worksrcpath}/abclock.c
24}
25use_configure    no
26build.target     all XLIBDIR="-L${prefix}/lib" XINCLUDEDIR="-I${prefix}/include" OPT="${configure.cflags}"
27destroot {
28    xinstall -m 755 ${worksrcpath}/abclock ${destroot}${prefix}/bin
29    xinstall -m 755 ${worksrcpath}/abc_img ${destroot}${prefix}/bin
30}
31
32depends_lib \
33        port:xorg-libX11
34
35variant universal {
36        build.target-append OPT="${configure.cflags} ${configure.universal_cflags}"
37}
Note: See TracBrowser for help on using the repository browser.