svn commit: r324137 - head/mail/wmpop3

Alexey Dokuchaev danfe at FreeBSD.org
Fri Aug 2 02:50:15 UTC 2013


Author: danfe
Date: Fri Aug  2 02:50:14 2013
New Revision: 324137
URL: http://svnweb.freebsd.org/changeset/ports/324137

Log:
  - Unbreak parallel (-jX) builds by removing bogus "clean" from ALL_TARGET
  - Avoid using not-quite-compatible :L modifier in WRKSRC assignment
  - Add LICENSE (GPLv2), properly define and handle portdocs and examples
  - Generally clean up Makefile and port description while I am here

Modified:
  head/mail/wmpop3/Makefile
  head/mail/wmpop3/pkg-descr

Modified: head/mail/wmpop3/Makefile
==============================================================================
--- head/mail/wmpop3/Makefile	Fri Aug  2 01:25:23 2013	(r324136)
+++ head/mail/wmpop3/Makefile	Fri Aug  2 02:50:14 2013	(r324137)
@@ -1,7 +1,6 @@
 # Created by: Jim Mock <jim at FreeBSD.org>
 # $FreeBSD$
 
-
 PORTNAME=	wmpop3
 PORTVERSION=	0.5.6a
 PORTREVISION=	4
@@ -10,26 +9,32 @@ MASTER_SITES=	#
 DISTNAME=	WMPop3-${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	POP3 mail check for the Window Maker dock
+COMMENT=	Dockapp to check email via POP3 protocol
 
-WRKSRC=		${WRKDIR}/${DISTNAME:L}/wmpop3
+LICENSE=	GPLv2
 
 USE_CSTD=	gnu89
 USE_XORG=	xpm
-ALL_TARGET=	clean all
-MAKE_JOBS_UNSAFE=	yes
 
-PLIST_FILES=	bin/wmpop3 %%EXAMPLESDIR%%/wmpop3rc
-PLIST_DIRS=	%%EXAMPLESDIR%%
-PORTDOCS=	README
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
+
+PLIST_FILES=	bin/wmpop3
+PORTDOCS=	CHANGE_LOG README
+PORTEXAMPLES=	wmpop3rc
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+.include <bsd.port.options.mk>
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/wmpop3 ${PREFIX}/bin
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
+.endif
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/README ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/mail/wmpop3/pkg-descr
==============================================================================
--- head/mail/wmpop3/pkg-descr	Fri Aug  2 01:25:23 2013	(r324136)
+++ head/mail/wmpop3/pkg-descr	Fri Aug  2 02:50:14 2013	(r324137)
@@ -1,3 +1,3 @@
-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.
+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 mailbox.


More information about the svn-ports-head mailing list