aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-exif
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-27 17:33:21 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-27 17:33:21 +0000
commitd585d43b9d7cd481bbd5a78a52708e6818750d71 (patch)
tree801486575806640e7232f95446955fb629edc990 /graphics/py-exif
parent4818ef5871d359d231d0421e8fc83afedb52ee96 (diff)
downloadports-d585d43b9d7cd481bbd5a78a52708e6818750d71.tar.gz
ports-d585d43b9d7cd481bbd5a78a52708e6818750d71.zip
Notes
Diffstat (limited to 'graphics/py-exif')
-rw-r--r--graphics/py-exif/Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/graphics/py-exif/Makefile b/graphics/py-exif/Makefile
index 7526e18312a6..2ad409e5f23f 100644
--- a/graphics/py-exif/Makefile
+++ b/graphics/py-exif/Makefile
@@ -17,7 +17,6 @@ WRKSRC= ${WRKDIR}/pyexif
DATADIR= ${PREFIX}/share/py-exif
DOCSDIR= ${PREFIX}/share/doc/py-exif
-NO_STAGE= yes
post-patch:
.for pyfile in exiftool exifinfo.py
@ cd ${WRKSRC}/bin && ${MV} ${pyfile} ${pyfile}.orig && \
@@ -25,22 +24,23 @@ post-patch:
.endfor
do-build:
- @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/lib
- @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/lib
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ -f ${WRKSRC}/lib \
+ -d ${PYTHONPREFIX_SITELIBDIR}
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ -f ${WRKSRC}/lib \
+ -d ${PYTHONPREFIX_SITELIBDIR}
do-install:
- @ ${MKDIR} ${PREFIX}/bin
- @ cd ${WRKSRC}/lib && ${INSTALL_DATA} *.py *.pyc *.pyo \
- ${PYTHON_SITELIBDIR}
- @ ${INSTALL_SCRIPT} ${WRKSRC}/bin/exiftool ${PREFIX}/bin/py-exiftool
- @ ${MKDIR} ${DATADIR}
- @ cd ${WRKSRC}/share/exiftool && ${INSTALL_DATA} *.html *.txt \
- ${DATADIR}
-
-post-install:
-.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${DOCSDIR}
- @ ${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+ cd ${WRKSRC}/lib && ${INSTALL_DATA} *.py *.pyc *.pyo \
+ ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/exiftool ${STAGEDIR}${PREFIX}/bin/py-exiftool
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC}/share/exiftool && ${INSTALL_DATA} *.html *.txt \
+ ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>