mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Support PREFIX properly.
PR: 17853 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
parent
9e804cdf41
commit
e9284d7b92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28171
@ -17,19 +17,18 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
||||
|
||||
USE_IMAKE= yes
|
||||
MAN1= xmailbox.1
|
||||
MANCOMPRESSED= no
|
||||
|
||||
do-install:
|
||||
@ ${INSTALL_PROGRAM} ${WRKSRC}/xmailbox ${PREFIX}/bin
|
||||
@ ${INSTALL_MAN} ${WRKSRC}/xmailbox.man ${PREFIX}/man/man1/xmailbox.1
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/XMailbox.ad ${PREFIX}/lib/X11/app-defaults/XMailbox
|
||||
@ ${MKDIR} ${PREFIX}/share/xmailbox
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/dingdong.au ${PREFIX}/share/xmailbox
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${PREFIX}/share/xmailbox
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMailbox.ad
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/xmailbox
|
||||
${INSTALL_DATA} ${WRKSRC}/dingdong.au ${PREFIX}/share/xmailbox
|
||||
${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${PREFIX}/share/xmailbox
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ ${MKDIR} ${PREFIX}/share/doc/xmailbox
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox
|
||||
@${MKDIR} ${PREFIX}/share/doc/xmailbox
|
||||
${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,14 +1,16 @@
|
||||
--- Imakefile.orig Wed Jul 16 11:36:17 1997
|
||||
+++ Imakefile Sun Jun 20 10:50:43 1999
|
||||
@@ -5,7 +5,7 @@
|
||||
--- Imakefile.orig Thu Jul 17 01:36:17 1997
|
||||
+++ Imakefile Sat Apr 8 07:13:59 2000
|
||||
@@ -5,8 +5,8 @@
|
||||
# Note: you need to have XPM 3.4 or higher!
|
||||
#------------------------------------------
|
||||
#
|
||||
-XPMINCDIR = /usr/include/X11
|
||||
+XPMINCDIR = $(X11BASE)/include/X11
|
||||
XPMLIBDIR = /usr/X11/lib
|
||||
-XPMLIBDIR = /usr/X11/lib
|
||||
+XPMINCDIR = $(INCDIR)/X11
|
||||
+XPMLIBDIR = $(USRLIBDIR)
|
||||
XPMLIB = -L$(XPMLIBDIR) -lXpm
|
||||
|
||||
#-------------------------------
|
||||
@@ -20,7 +20,9 @@
|
||||
# Comment the following define if you
|
||||
# want audio support
|
||||
@ -30,3 +32,12 @@
|
||||
|
||||
#------------------------------------------
|
||||
# Uncomment the following define if you
|
||||
@@ -84,7 +88,7 @@
|
||||
EXTRA_DEFINES = -DCOM_AUDIO
|
||||
#else
|
||||
SNDLIB =
|
||||
- INCLUDES = -I$(XPMINCDIR) -I/usr/public/include
|
||||
+ INCLUDES = -I$(XPMINCDIR)
|
||||
EXTRA_DEFINES = $(SUN_AUDIO)
|
||||
#endif /* COM_AUDIO */
|
||||
#endif /* RPLAY_AUDIO */
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- XMailbox.ad Wed Jul 16 16:13:32 1997
|
||||
+++ /home/andy/tmp/wrk/XMailbox.ad Sat May 23 23:30:34 1998
|
||||
--- XMailbox.ad.orig Thu Jul 17 01:13:32 1997
|
||||
+++ XMailbox.ad Sat Apr 8 07:03:20 2000
|
||||
@@ -9,7 +9,7 @@
|
||||
xmailbox*mailAnimOnce: true
|
||||
! xmailbox*mailAnimUpdate: 1000
|
||||
! xmailbox*mailapp: echo 'setenv LINES 25; setenv COLUMNS 80; xterm -n Elm -e elm' | /bin/csh -f -s
|
||||
-! xmailbox*mailSndFile: /usr/public/lib/sounds/bong.au
|
||||
+xmailbox*mailSndFile: /usr/X11R6/share/xmailbox/ugotmail.au
|
||||
+xmailbox*mailSndFile: %%PREFIX%%/share/xmailbox/ugotmail.au
|
||||
! xmailbox*mailSndComm: /usr/public/bin/play %s
|
||||
! xmailbox*nomailXpmFile: /usr/X11/include/X11/pixmaps/mail0.xpm
|
||||
! xmailbox*mailXpmFile: /usr/X11/include/X11/pixmaps/mail1.xpm
|
||||
|
Loading…
Reference in New Issue
Block a user