- Unbreak

- Update MASTER_SITES
- Update WWW
- Simplify build process
- Remove pkg-plist, files/patch-aa

PR:		90198
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Emanuel Haupt 2005-12-10 19:15:16 +00:00
parent 55705f0b58
commit 6ab9fa9b6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150822
4 changed files with 16 additions and 37 deletions

View file

@ -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>

View file

@ -1,24 +0,0 @@
--- Imakefile.orig Fri Oct 16 02:15:01 1998
+++ Imakefile Wed Nov 1 07:31:32 2000
@@ -1,13 +1,13 @@
# mlclock is macintosh like clock
RCFILE = .mlclockrc
-CC = gcc
+#CC = gcc
OPTION =
# If function dosen't find , add -lsocket or whatever you need .
# This is example .
#ADD_LIBRARIES = -lxpg4 -lsocket -lnsl
-ADD_LIBRARIES = -lxpg4
+#ADD_LIBRARIES = -lxpg4
#---You shouldn't have to change anything below this line.---
@@ -18,4 +18,4 @@
DEFINES = $(OPTION) -DRCFILE=\"${RCFILE}\"
-ComplexProgramTarget( mlclock )
+ComplexProgramTargetNoMan(mlclock)

View file

@ -12,4 +12,4 @@ HOW TO USE
that's all.
WWW: http://www.hry.info.gifu-u.ac.jp/~hideki/
WWW: http://www2u.biglobe.ne.jp/~y-miyata/mlvwm.html

View file

@ -1,4 +0,0 @@
bin/mlclock
share/mlclock/mlclockrc
share/mlclock/mlclockrc-kanji
@dirrm share/mlclock