mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
96bc8048c3
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: neXtaw
|
|
# Version required: 0.5.1
|
|
# Date created: 16 January 1997
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
|
#
|
|
# $Id: Makefile,v 1.9 1998/10/28 08:06:37 tg Exp $
|
|
#
|
|
|
|
DISTNAME= neXtaw-0.5.1
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= http://www.freebsd.org/~tg/
|
|
EXTRACT_SUFX= .tar.gz.bin
|
|
|
|
MAINTAINER= tg@FreeBSD.ORG
|
|
|
|
USE_IMAKE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-extract:
|
|
@${RM} -rf ${WRKSRC}/X11
|
|
|
|
post-configure:
|
|
@${ECHO_MSG} "*********************************************************************"
|
|
@${ECHO_MSG} "* Don't worry about the warning messages above, the port will build *"
|
|
@${ECHO_MSG} "*********************************************************************"
|
|
@cd ${WRKSRC}/exports/include/X11/neXtaw; ln -sf ../../../../*.h .
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/neXtaw
|
|
${INSTALL_DATA} ${WRKSRC}/README.neXtaw ${PREFIX}/share/doc/neXtaw
|
|
.endif
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
${LN} -sf libneXtaw.so.6.1 ${PREFIX}/lib/libneXtaw.so
|
|
.endif
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
.include <bsd.port.post.mk>
|