1997-12-12 07:16:08 +01:00
|
|
|
# New ports collection makefile for: mlclock
|
|
|
|
# Date created: December 05 1997
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1997-12-12 07:16:08 +01:00
|
|
|
#
|
|
|
|
|
2000-04-10 02:33:10 +02:00
|
|
|
PORTNAME= mlclock
|
2000-04-21 08:54:32 +02:00
|
|
|
PORTVERSION= 1.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
1998-09-23 00:32:14 +02:00
|
|
|
CATEGORIES= x11-clocks
|
2005-12-10 20:15:16 +01:00
|
|
|
MASTER_SITES= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/
|
1997-12-12 07:16:08 +01:00
|
|
|
|
2003-11-03 02:19:26 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Clock for mlvwm window manager
|
1997-12-12 07:16:08 +01:00
|
|
|
|
2005-12-10 20:15:16 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2005-11-27 04:03:57 +01:00
|
|
|
|
2005-12-10 20:15:16 +01:00
|
|
|
USE_X_PREFIX= yes
|
1997-12-12 07:16:08 +01:00
|
|
|
|
2005-12-10 20:15:16 +01:00
|
|
|
PLIST_FILES= bin/mlclock %%DATADIR%%/mlclockrc %%DATADIR%%/mlclockrc-kanji
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include \
|
|
|
|
-DRCFILE=\".mlclockrc\" mlclock.c -o mlclock \
|
|
|
|
-L${X11BASE}/lib -lX11
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlclock ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
1999-10-05 04:36:18 +02:00
|
|
|
.for i in mlclockrc mlclockrc-kanji
|
2005-12-10 20:15:16 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${DATADIR}
|
1999-10-05 04:36:18 +02:00
|
|
|
.endfor
|
1997-12-12 07:16:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|