svn commit: r331821 - head/x11/xsel

Eitan Adler eadler at FreeBSD.org
Mon Oct 28 01:20:22 UTC 2013


Author: eadler
Date: Mon Oct 28 01:20:21 2013
New Revision: 331821
URL: http://svnweb.freebsd.org/changeset/ports/331821

Log:
  Cleanup of the ports in the x11 directory
  - Convert to staging

Modified:
  head/x11/xsel/Makefile

Modified: head/x11/xsel/Makefile
==============================================================================
--- head/x11/xsel/Makefile	Mon Oct 28 01:18:39 2013	(r331820)
+++ head/x11/xsel/Makefile	Mon Oct 28 01:20:21 2013	(r331821)
@@ -16,22 +16,19 @@ USE_BZIP2=	yes
 USE_XORG=	xmu xaw xt xproto xkbfile
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lXt -lXaw -lX11 -lXmu
-MAN1=		${PORTNAME}.1
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} man/man1/xsel.1.gz
 PORTDOCS=	${PORTNAME}.html
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-build:
-	@cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS}
+	cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS}
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MAN1PREFIX}/man/man1/${PORTNAME}.1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
 .if ${PORT_OPTIONS:MDOCS}
-	@${INSTALL} -d ${DOCSDIR}/
-	@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+	${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 .endif
 
-.include <bsd.port.mk>


More information about the svn-ports-head mailing list