svn commit: r346283 - head/mail/asmail

Martin Wilke miwi at FreeBSD.org
Thu Feb 27 09:07:21 UTC 2014


Author: miwi
Date: Thu Feb 27 09:07:20 2014
New Revision: 346283
URL: http://svnweb.freebsd.org/changeset/ports/346283
QAT: https://qat.redports.org/buildarchive/r346283/

Log:
  - Stage support
  - Update MASTER_SITES and WWW: line
  
  PR:		187050

Modified:
  head/mail/asmail/Makefile
  head/mail/asmail/pkg-descr
  head/mail/asmail/pkg-plist

Modified: head/mail/asmail/Makefile
==============================================================================
--- head/mail/asmail/Makefile	Thu Feb 27 09:07:10 2014	(r346282)
+++ head/mail/asmail/Makefile	Thu Feb 27 09:07:20 2014	(r346283)
@@ -3,16 +3,14 @@
 
 PORTNAME=	asmail
 PORTVERSION=	2.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	mail afterstep
-MASTER_SITES=	http://www.tigr.net/afterstep/download/asmail/
+MASTER_SITES=	AFTERSTEP/apps/asmail/ \
+		http://tigr.net/afterstep/download/asmail/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Biff-type program, designed to match AfterStep
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2014-03-07
-
 USE_XORG=	xpm
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
@@ -21,27 +19,34 @@ CONFIGURE_ARGS=	--enable-shaping \
 		--with-xpm-includes=${LOCALBASE}/include \
 		--with-xpm-library=${LOCALBASE}/lib
 
-MAN1=	asmail.1x
-MAN5=	asmailrc.5x
+LDFLAGS+=	-pthread -lssl -lcrypto
 
-CPPFLAGS+=	${PTHREAD_CFLAGS}
-LDFLAGS+=	${PTHREAD_LIBS} -lssl -lcrypto
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		 s|machine/soundcard|sys/soundcard|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|@CFLAGS@ -D|@CFLAGS@ @CPPFLAGS@ -D|g ; \
-		 s|-lpthread -lrt|@LDFLAGS@|g' ${WRKSRC}/autoconf/Makefile.defines.in
 	@${REINPLACE_CMD} -e \
-		's|/usr/local|${PREFIX}|g' ${WRKSRC}/asmailrc.sample
+		's|-lpthread|-pthread|g ; \
+		 s|machine/soundcard|sys/soundcard|g' \
+		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		'/STRIP/s|^|#| ; \
+		 s| \($$(AFTER_.*DIR)\)| $$(DESTDIR)\1| ; \
+		 s|\.\([0-9]\)x|.\1|' \
+		${WRKSRC}/autoconf/Makefile.common.in
+	@${REINPLACE_CMD} -e \
+		's|@CFLAGS@ -D|@CFLAGS@ @CPPFLAGS@ -D|g ; \
+		 s|-lpthread -lrt|@LDFLAGS@|g' \
+		${WRKSRC}/autoconf/Makefile.defines.in
+	@${REINPLACE_CMD} -e \
+		's|/usr/local|${PREFIX}|g' \
+		${WRKSRC}/asmailrc.sample
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/asmailrc.sample ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} README \
+		${STAGEDIR}${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} asmailrc.sample \
+		${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>

Modified: head/mail/asmail/pkg-descr
==============================================================================
--- head/mail/asmail/pkg-descr	Thu Feb 27 09:07:10 2014	(r346282)
+++ head/mail/asmail/pkg-descr	Thu Feb 27 09:07:20 2014	(r346283)
@@ -3,4 +3,4 @@ look & feel. It indicates the status of 
 It can be put in the Wharf, execute a program on incoming mail,
 execute a program upon mouseclick, show animations and more...
 
-WWW: http://www.tigr.net/afterstep/
+WWW: http://tigr.net/afterstep/

Modified: head/mail/asmail/pkg-plist
==============================================================================
--- head/mail/asmail/pkg-plist	Thu Feb 27 09:07:10 2014	(r346282)
+++ head/mail/asmail/pkg-plist	Thu Feb 27 09:07:20 2014	(r346283)
@@ -1,4 +1,6 @@
 bin/asmail
+man/man1/asmail.1.gz
+man/man5/asmailrc.5.gz
 %%DATADIR%%/pixmaps/e-no.xpm
 %%DATADIR%%/pixmaps/e0.xpm
 %%DATADIR%%/pixmaps/e1.xpm
@@ -65,8 +67,8 @@ bin/asmail
 %%DATADIR%%/sounds/clink.au
 %%DATADIR%%/sounds/drip.au
 %%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/asmailrc.sample
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asmailrc.sample
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%/pixmaps
 @dirrm %%DATADIR%%/sounds


More information about the svn-ports-head mailing list