1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Fix MASTER_SITES

- Support CFLAGS/PREFIX properly

PR:		17169
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Michael Haro 2000-04-01 01:45:51 +00:00
parent a06e397d22
commit e6890b482f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27216
3 changed files with 15 additions and 13 deletions

View File

@ -9,8 +9,8 @@
DISTNAME= bricons
PKGNAME= bricons-3.0
CATEGORIES= x11
MASTER_SITES= ftp://ftp.uni-paderborn.de/unix/X11/ftp.x.org/R5contrib/ \
ftp://ftp.pasteur.fr/pub/computing/unix/X11/R5contrib/
MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
ftp://ftp.freesoftware.com/pub/X11/R5contrib/
EXTRACT_SUFX= -athena-3.0.tar.gz
MAINTAINER= shanee@augusta.de
@ -20,11 +20,13 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
MAN1= bricons.1
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Xbricons
post-install:
${INSTALL_DATA} $(WRKDIR)/bricons/Xbricons $(PREFIX)/lib/X11/app-defaults/
${INSTALL_DATA} $(WRKDIR)/bricons/bitmaps/* $(PREFIX)/include/X11/bitmaps/
${MKDIR} $(PREFIX)/include/X11/pixmaps
${INSTALL_DATA} $(WRKDIR)/bricons/*.xpm $(PREFIX)/include/X11/pixmaps/
${INSTALL_DATA} ${WRKSRC}/Xbricons ${PREFIX}/lib/X11/app-defaults
${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${PREFIX}/include/X11/bitmaps
${INSTALL_DATA} ${WRKSRC}/*.xpm ${PREFIX}/include/X11/pixmaps
@${ECHO_MSG} ""
@${ECHO_MSG} " Use ./files/DOTbriconsrc as an example. This file"
@${ECHO_MSG} " should be stored in the same directory as the"

View File

@ -28,22 +28,22 @@
/**/# Here's what to change to customize the installation...
/**/# Where do you want this stuff (if the defaults aren't okay)?
! BINDIR = /usr/X11R6/bin
! LIBDIR = /usr/X11R6/lib
! MANDIR = /usr/X11R6/man/man1
! XCOMM BINDIR = /home/cur/bri/bin/mbins/${M}bin
! XCOMM LIBDIR = /home/cur/bri/lib
! XCOMM MANDIR = /home/cur/bri/Man
/**/# Where is the Xpm header and library files
/**/# This program needs the Xpm libraries written by Arnaud Le Hors.
/**/# it can be obtained by anonymous ftp to: export.lcs.mit.edu
/**/# and from many other sites.
! XPM_DIR = /usr/X11R6/include/X11
! XPM_DIR = $(INCROOT)/X11
XPM_INCLUDE_DIR = $(XPM_DIR)
! XPM_LIB_DIR = /usr/X11R6/lib
! XPM_LIB_DIR = $(LIBDIR)
/**/# This is -g for debugging or -O for optimization (or nothing).
! CDEBUGFLAGS = -O2
! XCOMM CDEBUGFLAGS = -g
/**/# Nothing to change below here

View File

@ -16,7 +16,7 @@
! B.R. Ingram 9th Sept 1991
*no_of_cols: 16
! *help_file: bricons
! *.bitmapFilePath: /usr/X11R6/include/X11/bitmaps
! *.bitmapFilePath: %%PREFIX%%/include/X11/bitmaps
*borderColor: yellow
*popup_layout*.borderColor: black
*background: #ffd28e