aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/wmpop3/Makefile22
-rw-r--r--mail/wmpop3/pkg-descr2
-rw-r--r--mail/wmpop3/pkg-plist5
3 files changed, 11 insertions, 18 deletions
diff --git a/mail/wmpop3/Makefile b/mail/wmpop3/Makefile
index 8b69b86091ec..ffdd90d35910 100644
--- a/mail/wmpop3/Makefile
+++ b/mail/wmpop3/Makefile
@@ -9,29 +9,29 @@ PORTNAME= wmpop3
PORTVERSION= 0.5.6a
PORTREVISION= 2
CATEGORIES= mail windowmaker
-MASTER_SITES= http://www.cs.mun.ca/~scotth/download/
-DISTFILES= WMPop3-${PORTVERSION}.tar.gz
+MASTER_SITES= #
+DISTNAME= WMPop3-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A POP3 mail check for the Window Maker dock
-WRKSRC= ${WRKDIR}/${DISTNAME}/wmpop3
+WRKSRC= ${WRKDIR}/${DISTNAME:L}/wmpop3
USE_X_PREFIX= yes
USE_XPM= yes
ALL_TARGET= clean all
+PLIST_FILES= bin/wmpop3 %%EXAMPLESDIR%%/wmpop3rc
+PLIST_DIRS= %%EXAMPLESDIR%%
+PORTDOCS= README
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmpop3 ${PREFIX}/bin
- @${ECHO} "===> Installing wmpop3rc in ${PREFIX}/share/examples/wmpop3"
- @${ECHO} "===> Modify to your config and copy to ~/.wmpop3rc"
- @${MKDIR} ${PREFIX}/share/examples/wmpop3
- ${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${PREFIX}/share/examples/wmpop3
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
- @${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmpop3"
- @${ECHO} "===> Please read it for usage instructions"
- @${MKDIR} ${PREFIX}/share/doc/wmpop3
- @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/README ${PREFIX}/share/doc/wmpop3
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/mail/wmpop3/pkg-descr b/mail/wmpop3/pkg-descr
index a5ab9e397df0..7ecf64a718bd 100644
--- a/mail/wmpop3/pkg-descr
+++ b/mail/wmpop3/pkg-descr
@@ -2,6 +2,4 @@ WMPop3 is a POP3 mail box checker. It will connect to a POP3 server
to check if you have mail, if you do then it will alert you of new
mail and how many messages are currently in your mail box.
-WWW: http://www.cs.mun.ca/~scotth/
-
- Jim <jim@FreeBSD.org>
diff --git a/mail/wmpop3/pkg-plist b/mail/wmpop3/pkg-plist
deleted file mode 100644
index 891ec78f790a..000000000000
--- a/mail/wmpop3/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/wmpop3
-%%PORTDOCS%%share/doc/wmpop3/README
-share/examples/wmpop3/wmpop3rc
-%%PORTDOCS%%@dirrm share/doc/wmpop3
-@dirrm share/examples/wmpop3