- style
- ${MKDIR} -> ${INSTALL_DATA_DIR} - ${PATCH} -> patch
This commit is contained in:
parent
3af680cf9f
commit
ed1946467d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.10 1999/05/09 07:24:21 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2000/02/05 03:56:58 brad Exp $
|
||||
|
||||
DISTNAME= libpng-1.0.3
|
||||
PKGNAME= png-1.0.3
|
||||
@ -13,7 +13,7 @@ post-extract:
|
||||
@chmod +w ${WRKSRC}/scripts
|
||||
|
||||
pre-patch:
|
||||
cp ${WRKSRC}/scripts/makefile.std $(WRKSRC)/Makefile
|
||||
@cp ${WRKSRC}/scripts/makefile.std $(WRKSRC)/Makefile
|
||||
|
||||
# post-patch must be defined before bsd.port.mk is included so it will
|
||||
# be called. However, we need to have the body of the target after
|
||||
@ -22,13 +22,12 @@ pre-patch:
|
||||
post-patch:
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/libpng.3 ${PREFIX}/man/man3
|
||||
${INSTALL_MAN} ${WRKSRC}/libpngpf.3 ${PREFIX}/man/man3
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/png
|
||||
cd ${WRKSRC}; ${INSTALL_MAN} libpng.3 libpngpf.3 ${PREFIX}/man/man3
|
||||
${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/man/man5
|
||||
${MKDIR} ${PREFIX}/share/doc/png
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/png
|
||||
${INSTALL_DATA} ${WRKSRC}/libpng.txt ${PREFIX}/share/doc/png
|
||||
${LDCONFIG} -m ${PREFIX}/lib
|
||||
@${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@ -37,5 +36,5 @@ post-install:
|
||||
# apply one more patch.
|
||||
post-patch:
|
||||
.if defined(NO_SHARED_LIBS)
|
||||
@(cd ${DISTDIR}; ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/patch)
|
||||
@(cd ${DISTDIR}; patch ${PATCH_DIST_ARGS} < ${FILESDIR}/patch)
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user