aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2010-09-26 01:27:13 +0800
committerdanfe <danfe@FreeBSD.org>2010-09-26 01:27:13 +0800
commit3797a7e11ffdf9139825ab23463ae84e57c9b33f (patch)
tree72f16d7b9faf3d191349fdfc63e160a46ad51266 /comms
parent4b2ba2f4c3b278198f3033626d5063eef4e35a13 (diff)
downloadfreebsd-ports-gnome-3797a7e11ffdf9139825ab23463ae84e57c9b33f.tar.gz
freebsd-ports-gnome-3797a7e11ffdf9139825ab23463ae84e57c9b33f.tar.zst
freebsd-ports-gnome-3797a7e11ffdf9139825ab23463ae84e57c9b33f.zip
- Canonicalize Makefile header
- Utilize PORTNAME where appropriate - Mute MKDIR's - Install documentation files via INSTALL_DATA instead of INSTALL_MAN Approved by: maintainer
Diffstat (limited to 'comms')
-rw-r--r--comms/py-serial/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile
index fb73fde2cd54..aa2f02fc7311 100644
--- a/comms/py-serial/Makefile
+++ b/comms/py-serial/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: py-serial
-# Date created: 26 February 2002
-# Whom: Hye-Shik Chang <perky@fallin.lv>
+# New ports collection makefile for: pySerial
+# Date created: 26 February 2002
+# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#
@@ -9,8 +9,8 @@ PORTNAME= serial
PORTVERSION= 2.5
CATEGORIES= comms python
MASTER_SITES= CHEESESHOP
+DISTNAME= py${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= pyserial-${PORTVERSION}
MAINTAINER= sbrabez@gmail.com
COMMENT= Serial port encapsulation library for Python
@@ -18,18 +18,18 @@ COMMENT= Serial port encapsulation library for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
-PYDISTUTILS_PKGNAME= pyserial
+PYDISTUTILS_PKGNAME= py${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/*.txt ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif