mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
3e4ed01146
- 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)
36 lines
880 B
Makefile
36 lines
880 B
Makefile
# New ports collection makefile for: mlclock
|
|
# Date created: December 05 1997
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mlclock
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-clocks
|
|
MASTER_SITES= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Clock for mlvwm window manager
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_XORG= x11 xau xdmcp
|
|
|
|
PLIST_FILES= bin/mlclock %%DATADIR%%/mlclockrc %%DATADIR%%/mlclockrc-kanji
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include \
|
|
-DRCFILE=\".mlclockrc\" mlclock.c -o mlclock \
|
|
-L${LOCALBASE}/lib -lX11
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlclock ${PREFIX}/bin
|
|
@${MKDIR} ${DATADIR}
|
|
.for i in mlclockrc mlclockrc-kanji
|
|
${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${DATADIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|