From b5d9bfb7a4aa74448310eb6f732369f376d05423 Mon Sep 17 00:00:00 2001 From: Sofian Brabez Date: Fri, 11 Jul 2014 18:09:01 +0000 Subject: - Add CPE entries for python - Remove NOPORTDATA as it's deprecated since r359061 --- lang/python32/Makefile | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'lang/python32') diff --git a/lang/python32/Makefile b/lang/python32/Makefile index 6134138a4a23..a798a5ac79a4 100644 --- a/lang/python32/Makefile +++ b/lang/python32/Makefile @@ -1,30 +1,34 @@ # $FreeBSD$ -PORTNAME= python32 -PORTVERSION= 3.2.5 -PORTREVISION= 9 -CATEGORIES= lang python ipv6 -MASTER_SITES= PYTHON +PORTNAME= python32 +PORTVERSION= 3.2.5 +PORTREVISION= 9 +CATEGORIES= lang python ipv6 +MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} -DISTNAME= ${PYTHON_DISTNAME} -DIST_SUBDIR= python +DISTNAME= ${PYTHON_DISTNAME} +DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language LICENSE= PSFL -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure # must be relative -CONFIGURE_ENV= OPT="" SVNVERSION="echo freebsd" -MAKE_ENV= VPATH="${PYTHON_WRKSRC}" +CONFIGURE_ENV= OPT="" SVNVERSION="echo freebsd" +MAKE_ENV= VPATH="${PYTHON_WRKSRC}" INSTALL_TARGET= altinstall -USES= readline tar:xz +USES= readline tar:xz cpe USE_LDCONFIG= yes USE_PYTHON= yes +CPE_VENDOR= python +CPE_PRODUCT= ${CPE_VENDOR} +CPE_VERSION= ${PORTVERSION} + PYTHON_VERSION= python3.2 PYTHON_NO_DEPENDS= yes @@ -213,11 +217,9 @@ post-install: ${INSTALL_MAN} ${PYTHON_WRKSRC}/Misc/python.man \ ${STAGEDIR}${MAN1PREFIX}/man/man1/${PYTHON_VERSION}.1 -.if !defined(NOPORTDATA) @${MKDIR} ${STAGEDIR}${DATADIR} @cd ${PYTHON_WRKSRC}; ${TAR} -cf - Tools | \ (cd ${STAGEDIR}${DATADIR}; ${TAR} -xf -) -.endif @${CAT} ${PKGMESSAGE} -- cgit v1.2.3