svn commit: r337893 - in branches/2014Q1/polish/tleenx2: . files

Pawel Pekala pawel at FreeBSD.org
Sat Dec 28 18:06:46 UTC 2013


Author: pawel
Date: Sat Dec 28 18:06:45 2013
New Revision: 337893
URL: http://svnweb.freebsd.org/changeset/ports/337893

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

Deleted:
  branches/2014Q1/polish/tleenx2/files/
Modified:
  branches/2014Q1/polish/tleenx2/Makefile
  branches/2014Q1/polish/tleenx2/pkg-plist   (contents, props changed)
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/polish/tleenx2/Makefile
==============================================================================
--- branches/2014Q1/polish/tleenx2/Makefile	Sat Dec 28 18:05:20 2013	(r337892)
+++ branches/2014Q1/polish/tleenx2/Makefile	Sat Dec 28 18:06:45 2013	(r337893)
@@ -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: branches/2014Q1/polish/tleenx2/pkg-plist
==============================================================================
--- branches/2014Q1/polish/tleenx2/pkg-plist	Sat Dec 28 18:05:20 2013	(r337892)
+++ branches/2014Q1/polish/tleenx2/pkg-plist	Sat Dec 28 18:06:45 2013	(r337893)
@@ -1,4 +1,5 @@
 bin/tleenx2
+man/man1/tleenx2.1.gz
 %%DATADIR%%/pixmaps/archiwum.png
 %%DATADIR%%/pixmaps/away.png
 %%DATADIR%%/pixmaps/beback.png


More information about the svn-ports-branches mailing list