diff options
author | naddy <naddy@FreeBSD.org> | 2003-02-16 23:39:00 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-02-16 23:39:00 +0800 |
commit | 9b50b3f70b821e744e491c5da263e383d5ae1b00 (patch) | |
tree | ab926a9f1dc4abc9b34050a5a682ecc0c68c6473 /mail | |
parent | 9f30d9476ca5a0ce927236e1def5590fff9b0554 (diff) | |
download | freebsd-ports-gnome-9b50b3f70b821e744e491c5da263e383d5ae1b00.tar.gz freebsd-ports-gnome-9b50b3f70b821e744e491c5da263e383d5ae1b00.tar.zst freebsd-ports-gnome-9b50b3f70b821e744e491c5da263e383d5ae1b00.zip |
- Use MASTER_SITE_SOURCEFORGE
- Support install macros
- Utilize NOPORTDOCS
PR: 47490
Submitted by: Ports Fury
Diffstat (limited to 'mail')
-rw-r--r-- | mail/muttzilla/Makefile | 8 | ||||
-rw-r--r-- | mail/muttzilla/files/patch-Makefile | 10 | ||||
-rw-r--r-- | mail/muttzilla/files/patch-mzbase.c | 13 | ||||
-rw-r--r-- | mail/muttzilla/pkg-comment | 1 | ||||
-rw-r--r-- | mail/muttzilla/pkg-plist | 6 |
5 files changed, 26 insertions, 12 deletions
diff --git a/mail/muttzilla/Makefile b/mail/muttzilla/Makefile index e3c51b7640c6..5cb3752c0009 100644 --- a/mail/muttzilla/Makefile +++ b/mail/muttzilla/Makefile @@ -9,9 +9,11 @@ PORTNAME= muttzilla PORTVERSION= 0.40 CATEGORIES= mail www -MASTER_SITES= http://www3.bc.sympatico.ca/brian_winters/mutt/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +COMMENT= Mutt MUA plugin for Netscape for use on "mailto:" URLs USE_REINPLACE= yes @@ -23,8 +25,8 @@ pre-configure: post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/muttzilla - @${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/muttzilla + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/mail/muttzilla/files/patch-Makefile b/mail/muttzilla/files/patch-Makefile index 771170eacd82..6fa30ff2b397 100644 --- a/mail/muttzilla/files/patch-Makefile +++ b/mail/muttzilla/files/patch-Makefile @@ -19,8 +19,8 @@ - install --mode=0755 mzmail.sh mzmail.py mznews.sh mznews.py $(BINDIR) - install --mode=0644 $(MAILERLIBS) $(MZLIBDIR) - install --mode=0644 -b muttzilla.conf $(ETCDIR) -+ install -m 0755 -c muttzilla.so $(LIBDIR) -+ install -m 0755 -d $(MZLIBDIR) -+ install -m 0755 -c mzmail.sh mzmail.py mznews.sh mznews.py $(BINDIR) -+ install -m 0644 -c $(MAILERLIBS) $(MZLIBDIR) -+ install -m 0644 -c muttzilla.conf $(ETCDIR) ++ ${BSD_INSTALL_DATA} muttzilla.so $(LIBDIR) ++ -mkdir -p $(MZLIBDIR) ++ ${BSD_INSTALL_SCRIPT} mzmail.sh mzmail.py mznews.sh mznews.py $(BINDIR) ++ ${BSD_INSTALL_DATA} $(MAILERLIBS) $(MZLIBDIR) ++ ${BSD_INSTALL_DATA} muttzilla.conf $(ETCDIR) diff --git a/mail/muttzilla/files/patch-mzbase.c b/mail/muttzilla/files/patch-mzbase.c new file mode 100644 index 000000000000..995133f85da7 --- /dev/null +++ b/mail/muttzilla/files/patch-mzbase.c @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- mzbase.c.orig Sun Feb 16 16:35:13 2003 ++++ mzbase.c Sun Feb 16 16:35:28 2003 +@@ -25,6 +25,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <sys/stat.h> + #include <unistd.h> + #include <fcntl.h> diff --git a/mail/muttzilla/pkg-comment b/mail/muttzilla/pkg-comment deleted file mode 100644 index 9745cb2c7441..000000000000 --- a/mail/muttzilla/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Mutt MUA plugin for Netscape for use on "mailto:" URLs diff --git a/mail/muttzilla/pkg-plist b/mail/muttzilla/pkg-plist index d65c69b987b5..df861b712440 100644 --- a/mail/muttzilla/pkg-plist +++ b/mail/muttzilla/pkg-plist @@ -3,13 +3,13 @@ bin/mzmail.sh bin/mzmail.py bin/mznews.sh bin/mznews.py +etc/muttzilla.conf lib/muttzilla.so lib/muttzilla/mutt lib/muttzilla/pine lib/muttzilla/dtmail lib/muttzilla/VM lib/muttzilla/tin -etc/muttzilla.conf -share/doc/muttzilla/INSTALL +%%PORTDOCS%%share/doc/muttzilla/INSTALL +%%PORTDOCS%%@dirrm share/doc/muttzilla @dirrm lib/muttzilla -@dirrm share/doc/muttzilla |