Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 19:40:54 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337793 - in head/polish/tleenx2: . files
Message-ID:  <201312271940.rBRJesod088570@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Dec 27 19:40:54 2013
New Revision: 337793
URL: http://svnweb.freebsd.org/changeset/ports/337793

Log:
  - Fix build on 10+ by respecting CC
  - Convert simple patch to REINPLACE_CMD
  - Support staging

Deleted:
  head/polish/tleenx2/files/
Modified:
  head/polish/tleenx2/Makefile
  head/polish/tleenx2/pkg-plist   (contents, props changed)

Modified: head/polish/tleenx2/Makefile
==============================================================================
--- head/polish/tleenx2/Makefile	Fri Dec 27 19:29:30 2013	(r337792)
+++ head/polish/tleenx2/Makefile	Fri Dec 27 19:40:54 2013	(r337793)
@@ -21,19 +21,16 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 WRKSRC=		${WRKDIR}/TleenX2-${PORTVERSION}
 
-MAN1=		tleenx2.1
 PORTDOCS=	README gg.txt sms.txt
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},g; s,gcc,${CC},' \
+		${WRKSRC}/iksemel/Makefile
+	@${REINPLACE_CMD} 's,gcc,${CC},' ${WRKSRC}/jabby/Makefile
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/polish/tleenx2/pkg-plist
==============================================================================
--- head/polish/tleenx2/pkg-plist	Fri Dec 27 19:29:30 2013	(r337792)
+++ head/polish/tleenx2/pkg-plist	Fri Dec 27 19:40:54 2013	(r337793)
@@ -1,4 +1,5 @@
 bin/tleenx2
+man/man1/tleenx2.1.gz
 %%DATADIR%%/pixmaps/archiwum.png
 %%DATADIR%%/pixmaps/away.png
 %%DATADIR%%/pixmaps/beback.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271940.rBRJesod088570>