diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-12-11 03:15:16 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-12-11 03:15:16 +0800 |
commit | 527aea7a94aa9e3caaeaf5c5af52a0e97a7eda69 (patch) | |
tree | 689c491cec43b2f2f60cd5ce5ac7255c58010cf6 /x11-clocks/mlclock/Makefile | |
parent | 8a76db21e1ab4458559105d879418aaefb7da009 (diff) | |
download | freebsd-ports-gnome-527aea7a94aa9e3caaeaf5c5af52a0e97a7eda69.tar.gz freebsd-ports-gnome-527aea7a94aa9e3caaeaf5c5af52a0e97a7eda69.tar.zst freebsd-ports-gnome-527aea7a94aa9e3caaeaf5c5af52a0e97a7eda69.zip |
- Unbreak
- Update MASTER_SITES
- Update WWW
- Simplify build process
- Remove pkg-plist, files/patch-aa
PR: 90198
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'x11-clocks/mlclock/Makefile')
-rw-r--r-- | x11-clocks/mlclock/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/x11-clocks/mlclock/Makefile b/x11-clocks/mlclock/Makefile index 42ccf58b0c18..91176dab7250 100644 --- a/x11-clocks/mlclock/Makefile +++ b/x11-clocks/mlclock/Makefile @@ -8,21 +8,28 @@ PORTNAME= mlclock PORTVERSION= 1.1 CATEGORIES= x11-clocks -MASTER_SITES= # disappeared +MASTER_SITES= http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/ MAINTAINER= ports@FreeBSD.org COMMENT= Clock for mlvwm window manager -DEPRECATED= mastersite disappeared -EXPIRATION_DATE= 2006-01-26 +WRKSRC= ${WRKDIR}/${PORTNAME} -USE_IMAKE= yes -WRKSRC= ${WRKDIR}/mlclock +USE_X_PREFIX= yes -post-install: - @${MKDIR} ${PREFIX}/share/mlclock +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} ${PREFIX}/share/mlclock + ${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${DATADIR} .endfor .include <bsd.port.mk> |