move contents of pre-install to post-install section, where it should be
This commit is contained in:
parent
4645d14591
commit
add18cb502
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.2 1999/04/03 09:30:19 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 1999/09/21 19:55:52 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.6 1998/09/22 15:30:37 vanilla Exp $
|
||||
|
||||
DISTNAME= aalib-1.2
|
||||
@ -11,12 +11,10 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static
|
||||
|
||||
pre-install:
|
||||
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
||||
fi
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
||||
fi
|
||||
${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user