1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/x11-clocks/mlclock/Makefile
Emanuel Haupt 6ab9fa9b6c - Unbreak
- Update MASTER_SITES
- Update WWW
- Simplify build process
- Remove pkg-plist, files/patch-aa

PR:		90198
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2005-12-10 19:15:16 +00:00

36 lines
855 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
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_X_PREFIX= yes
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}
.for i in mlclockrc mlclockrc-kanji
${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${DATADIR}
.endfor
.include <bsd.port.mk>