svn commit: r308100 - head/databases/py-swift

Ruslan Mahmatkhanov rm at FreeBSD.org
Sun Dec 2 12:17:02 UTC 2012


Author: rm
Date: Sun Dec  2 12:17:01 2012
New Revision: 308100
URL: http://svnweb.freebsd.org/changeset/ports/308100

Log:
  - no need to include pre.mk/post.mk
  - replace ${PREFIX} with ${MANPREFIX} on manpage install command
  
  Reporetd by:	jhale
  Feature safe:	yes

Modified:
  head/databases/py-swift/Makefile

Modified: head/databases/py-swift/Makefile
==============================================================================
--- head/databases/py-swift/Makefile	Sun Dec  2 12:11:34 2012	(r308099)
+++ head/databases/py-swift/Makefile	Sun Dec  2 12:17:01 2012	(r308100)
@@ -25,8 +25,6 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}even
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	easy_install
 
-.include <bsd.port.pre.mk>
-
 MAN1=		swift-account-auditor.1 \
 		swift-account-reaper.1 \
 		swift-account-replicator.1 \
@@ -116,10 +114,10 @@ post-install:
 	${MKDIR} ${PREFIX}/etc/${PORTNAME}
 	${CP} -R ${WRKSRC}/etc/ ${PREFIX}/etc/${PORTNAME}
 .for i in ${MAN1}
-	${INSTALL_MAN} ${WRKSRC}/doc/manpages/${i} ${PREFIX}/man/man1/${i}
+	${INSTALL_MAN} ${WRKSRC}/doc/manpages/${i} ${MANPREFIX}/man/man1/${i}
 .endfor
 .for i in ${MAN5}
-	${INSTALL_MAN} ${WRKSRC}/doc/manpages/${i} ${PREFIX}/man/man5/${i}
+	${INSTALL_MAN} ${WRKSRC}/doc/manpages/${i} ${MANPREFIX}/man/man5/${i}
 .endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list