diff options
author | asami <asami@FreeBSD.org> | 1998-12-02 16:24:52 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-12-02 16:24:52 +0800 |
commit | b2df07cb4811171d91dde4e813f8622e3b78c892 (patch) | |
tree | 3b140ec4972cd50d6d68f7bbe1c5a617d051261e /lang/python/Makefile | |
parent | d45ea09824c9e5111d33738fc698796a076f8d3d (diff) | |
download | freebsd-ports-gnome-b2df07cb4811171d91dde4e813f8622e3b78c892.tar.gz freebsd-ports-gnome-b2df07cb4811171d91dde4e813f8622e3b78c892.tar.zst freebsd-ports-gnome-b2df07cb4811171d91dde4e813f8622e3b78c892.zip |
Make sure PLIST is correct whether you have source or not. Add copyright
file. Add "|| true" to end of != grep command line to avoid warnings.
Submitted by: tg
Diffstat (limited to 'lang/python/Makefile')
-rw-r--r-- | lang/python/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile index 80e254d58a69..0c39a7b4a7ba 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -3,7 +3,7 @@ # Date created: 08 August 1995 # Whom: jkh # -# $Id: Makefile,v 1.40 1998/10/06 06:49:12 tg Exp $ +# $Id: Makefile,v 1.41 1998/11/11 05:37:26 asami Exp $ # DISTNAME= pyth151 @@ -34,6 +34,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-fpectl MAKE_FLAGS= 'OPT=${CFLAGS}' INSTALL_TARGET= install +PLIST= ${WRKDIR}/PLIST MAN1= python.1 # @@ -58,7 +59,7 @@ SETUP_LOCAL= Setup.tk # This option is enabled by default. # WITH_THREADS?= yes -LIBC_R!= /sbin/ldconfig -r | grep c_r +LIBC_R!= /sbin/ldconfig -r | grep c_r || true .if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes CONFIGURE_ARGS+= --with-thread CFLAGS+= -D_THREAD_SAFE @@ -70,6 +71,7 @@ CONFIGURE_ENV= LDFLAGS="-pthread ${LDFLAGS}" # .if exists(/usr/src/contrib/libgmp/gmp-impl.h) SETUP_LOCAL+= Setup.gmp +PLIST_GMP= lib/python1.5/lib-dynload/mpzmodule.so .endif post-extract: @@ -97,9 +99,12 @@ pre-install: ${MKDIR} ${PREFIX}/lib/python1.5/plat-freebsd2 ${INSTALL_DATA} ${WRKSRC}/Lib/plat-freebsd2/* ${PREFIX}/lib/python1.5/plat-freebsd2 .endif + @${ECHO} ${PLIST_GMP} | sort -r -o ${PLIST} - ${PKGDIR}/PLIST post-install: ${INSTALL_SCRIPT} ${PREFIX}/lib/python1.5/plat-freebsd2/regen ${PREFIX}/lib/python1.5/plat-freebsd3 strip ${PREFIX}/bin/python + @${MKDIR} ${PREFIX}/share/doc/python + ${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/python .include <bsd.port.post.mk> |