diff options
author | steve <steve@FreeBSD.org> | 2000-05-01 03:35:57 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-05-01 03:35:57 +0800 |
commit | 07666347ad9d1761807828301b9ac8598682cfad (patch) | |
tree | 3b87a7d46af0fd3038c933baf47f5388647de2bd /mail/xmailbox | |
parent | a6c3f996df09365e462f1edf537b94850f8471e5 (diff) | |
download | freebsd-ports-gnome-07666347ad9d1761807828301b9ac8598682cfad.tar.gz freebsd-ports-gnome-07666347ad9d1761807828301b9ac8598682cfad.tar.zst freebsd-ports-gnome-07666347ad9d1761807828301b9ac8598682cfad.zip |
Support PREFIX properly.
PR: 17853
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'mail/xmailbox')
-rw-r--r-- | mail/xmailbox/Makefile | 21 | ||||
-rw-r--r-- | mail/xmailbox/files/patch-aa | 21 | ||||
-rw-r--r-- | mail/xmailbox/files/patch-ac | 6 |
3 files changed, 29 insertions, 19 deletions
diff --git a/mail/xmailbox/Makefile b/mail/xmailbox/Makefile index cfee7b165774..1f419f5aeae1 100644 --- a/mail/xmailbox/Makefile +++ b/mail/xmailbox/Makefile @@ -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> diff --git a/mail/xmailbox/files/patch-aa b/mail/xmailbox/files/patch-aa index 59246f9e4612..52c02b2c4a1e 100644 --- a/mail/xmailbox/files/patch-aa +++ b/mail/xmailbox/files/patch-aa @@ -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 */ diff --git a/mail/xmailbox/files/patch-ac b/mail/xmailbox/files/patch-ac index df147ef8cdc4..fcdd7178f3a2 100644 --- a/mail/xmailbox/files/patch-ac +++ b/mail/xmailbox/files/patch-ac @@ -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 |