1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Support CFLAGS/PREFIX properly

PR:		ports/17052
This commit is contained in:
Yukihiro Nakai 2000-02-29 08:23:37 +00:00
parent 6300138766
commit f15b3e9694
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26433
3 changed files with 20 additions and 8 deletions

View File

@ -22,6 +22,9 @@ MAN1= mlvwm.1
MLVWMLIBDIR= ${PREFIX}/lib/X11/mlvwm
post-extract:
@${TAR} -C ${WRKSRC}/pixmap -xzf ${DISTDIR}/mini-icons.tar.gz
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/sample_rc/Mlvwmrc*
@ -30,6 +33,5 @@ post-install:
@${MKDIR} ${MLVWMLIBDIR}/pixmap
${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${MLVWMLIBDIR}/pixmap
${INSTALL_DATA} ${WRKSRC}/sample_rc/Mlvwmrc* ${MLVWMLIBDIR}
(cd ${MLVWMLIBDIR}/pixmap; ${TAR} xzf ${DISTDIR}/mini-icons.tar.gz)
.include <bsd.port.mk>

View File

@ -1,7 +1,12 @@
*** configure.h.orig Tue Jul 13 00:35:34 1999
--- configure.h Thu Sep 23 00:19:06 1999
--- configure.h Mon Feb 28 05:05:14 2000
***************
*** 74,80 ****
*** 69,80 ****
#endif
XCOMM
! CDEBUGFLAGS = -g -Wall -Wshadow
XCOMM CDEBUGFLAGS = -O2 -Wall
XCOMM CDEBUGFLAGS = -g -Wall
XCOMM CDEBUGFLAGS = -g
@ -9,11 +14,16 @@
MLVWMDEFINES = $(Locale_DEFINES) $(COMPATIBLE)
MLVWMLIBRARIES = $(Locale_LIBRARIES)
--- 74,80 ----
--- 69,80 ----
#endif
XCOMM
! XCOMM CDEBUGFLAGS = -g -Wall -Wshadow
XCOMM CDEBUGFLAGS = -O2 -Wall
XCOMM CDEBUGFLAGS = -g -Wall
XCOMM CDEBUGFLAGS = -g
! ICONPATH = /usr/X11R6/include/X11/pixmaps
! ICONPATH = $(INCROOT)/X11/pixmaps
MLVWMDEFINES = $(Locale_DEFINES) $(COMPATIBLE)
MLVWMLIBRARIES = $(Locale_LIBRARIES)

View File

@ -44,7 +44,6 @@ lib/X11/mlvwm/pixmap/mini-lock.xpm
lib/X11/mlvwm/pixmap/mini-lower.xpm
lib/X11/mlvwm/pixmap/mini-mail.xpm
lib/X11/mlvwm/pixmap/mini-manual.xpm
lib/X11/mlvwm/pixmap/mini-sh.xpm
lib/X11/mlvwm/pixmap/mini-max1.xpm
lib/X11/mlvwm/pixmap/mini-maze.xpm
lib/X11/mlvwm/pixmap/mini-modules.xpm
@ -64,8 +63,8 @@ lib/X11/mlvwm/pixmap/mini-rball.xpm
lib/X11/mlvwm/pixmap/mini-resize.xpm
lib/X11/mlvwm/pixmap/mini-roach.xpm
lib/X11/mlvwm/pixmap/mini-run.xpm
lib/X11/mlvwm/pixmap/mini-sh.xpm
lib/X11/mlvwm/pixmap/mini-sh1.xpm
lib/X11/mlvwm/pixmap/mini-x.xpm
lib/X11/mlvwm/pixmap/mini-slon.xpm
lib/X11/mlvwm/pixmap/mini-start.xpm
lib/X11/mlvwm/pixmap/mini-stop.xpm
@ -73,6 +72,7 @@ lib/X11/mlvwm/pixmap/mini-term.xpm
lib/X11/mlvwm/pixmap/mini-tetris.xpm
lib/X11/mlvwm/pixmap/mini-turn.xpm
lib/X11/mlvwm/pixmap/mini-windows.xpm
lib/X11/mlvwm/pixmap/mini-x.xpm
lib/X11/mlvwm/pixmap/mini-x2.xpm
lib/X11/mlvwm/pixmap/mini-xmahjongg.xpm
lib/X11/mlvwm/pixmap/mini-xv.xpm
@ -86,7 +86,6 @@ lib/X11/mlvwm/pixmap/mini.destroy.xpm
lib/X11/mlvwm/pixmap/mini.excl.xpm
lib/X11/mlvwm/pixmap/mini.exit.xpm
lib/X11/mlvwm/pixmap/mini.eye.xpm
lib/X11/mlvwm/pixmap/mini.xpm
lib/X11/mlvwm/pixmap/mini.fvwm.xpm
lib/X11/mlvwm/pixmap/mini.iconify.xpm
lib/X11/mlvwm/pixmap/mini.letter.xpm
@ -110,6 +109,7 @@ lib/X11/mlvwm/pixmap/mini.xlock.xpm
lib/X11/mlvwm/pixmap/mini.xmag.xpm
lib/X11/mlvwm/pixmap/mini.xman.xpm
lib/X11/mlvwm/pixmap/mini.xpaint.xpm
lib/X11/mlvwm/pixmap/mini.xpm
lib/X11/mlvwm/pixmap/mini.xterm.xpm
lib/X11/mlvwm/pixmap/mini.zircon.xpm
@dirrm lib/X11/mlvwm/pixmap