1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add new MASTER_SITES

Support CFLAGS properly

PR:		ports/1667
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Jean-Marc Zucconi 2000-02-13 01:21:24 +00:00
parent 0ddbf191fe
commit 42aba7d78c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25726
2 changed files with 11 additions and 16 deletions

View File

@ -8,7 +8,9 @@
DISTNAME= xjewel-1.6
CATEGORIES= games
MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/
MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/ \
ftp://ftp.x.org/R5contrib/ \
ftp://ftp.cdrom.com/pub/X11/R5contrib/
EXTRACT_SUFX= .tar.z
MAINTAINER= jmz@FreeBSD.org
@ -16,18 +18,11 @@ MAINTAINER= jmz@FreeBSD.org
USE_IMAKE= yes
MAN6= xjewel.6
pre-install:
@${MKDIR} ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/X11/xjewel
@${MKDIR} ${PREFIX}/man/man6
@(cd ${WRKSRC}/bitmaps/; ${INSTALL_DATA} seven_seg.pcf.gz fonts.dir \
${PREFIX}/lib/X11/xjewel)
FONTSDIR= lib/X11/fonts/local
PLIST_SUB= FONTSDIR=${FONTSDIR}
post-install:
@(${MV} ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
$(ECHO) "#!/bin/sh" >${PREFIX}/bin/xjewel; \
$(ECHO) "xset +fp ${PREFIX}/lib/X11/xjewel" >>${PREFIX}/bin/xjewel; \
$(ECHO) "${PREFIX}/bin/xjewel_" >>${PREFIX}/bin/xjewel; \
${CHMOD} ugo+x ${PREFIX}/bin/xjewel)
${INSTALL_DATA} ${WRKSRC}/bitmaps/seven_seg.pcf.gz ${PREFIX}/${FONTSDIR}
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
bin/xjewel
bin/xjewel_
lib/X11/xjewel.scores
lib/X11/xjewel/fonts.dir
lib/X11/xjewel/seven_seg.pcf.gz
lib/X11/xjewel/xjewel.scores
%%FONTSDIR%%/seven_seg.pcf.gz
@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
@dirrm lib/X11/xjewel