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
|
2008-03-24 18:10:12 +01:00
|
|
|
PORTREVISION= 2
|
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}
|
2008-03-24 18:10:12 +01:00
|
|
|
USE_XORG= x11 xau xdmcp
|
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:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include \
|
2005-12-10 20:15:16 +01:00
|
|
|
-DRCFILE=\".mlclockrc\" mlclock.c -o mlclock \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
-L${LOCALBASE}/lib -lX11
|
2005-12-10 20:15:16 +01:00
|
|
|
|
|
|
|
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>
|