1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Use MASTER_SITE_SOURCEFORGE

- Support install macros
- Utilize NOPORTDOCS

PR:		47490
Submitted by:	Ports Fury
This commit is contained in:
Christian Weisgerber 2003-02-16 15:39:00 +00:00
parent d06d377b91
commit 5c8d5bbef5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75657
5 changed files with 26 additions and 12 deletions

View File

@ -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>

View File

@ -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)

View File

@ -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>

View File

@ -1 +0,0 @@
Mutt MUA plugin for Netscape for use on "mailto:" URLs

View File

@ -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