diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2004-12-07 12:16:51 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2004-12-07 12:16:51 +0000 |
commit | de3cc743983b282591047b306b09a0c36f8ae015 (patch) | |
tree | 1ced20f3aaa09f43441e8bf20d0cd0307ebfaa86 /security/fsh/Makefile | |
parent | Update to 0.6.5 (diff) |
Build and install *.pyc
Submitted by: sf
Notes
Notes:
svn path=/head/; revision=123393
Diffstat (limited to 'security/fsh/Makefile')
-rw-r--r-- | security/fsh/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/fsh/Makefile b/security/fsh/Makefile index f76ba48c87ee..f9ef946f5839 100644 --- a/security/fsh/Makefile +++ b/security/fsh/Makefile @@ -6,7 +6,7 @@ PORTNAME= fsh PORTVERSION= 1.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://www.lysator.liu.se/fsh/ @@ -20,4 +20,10 @@ GNU_CONFIGURE= yes post-patch: ${REINPLACE_CMD} -e '/^[^#]/s/FCNTL/fcntl/g' ${WRKSRC}/fshcompat.py +post-build: + ${PYTHON_CMD} -c 'import py_compile; py_compile.main()' ${WRKSRC}/*.py + +post-install: + ${INSTALL_DATA} ${WRKSRC}/*.pyc ${PREFIX}/share/fsh + .include <bsd.port.mk> |