mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
d16f7bfb92
PR. Thanks for contributing. Since the acroread7 port is a somewhat important port for our users, I will hand it over to emulation@ if no _active_ *committer* takes it before the ports freeze. While I'm here: - fix a little nit in the csound port (I think the intention was to create no backup file instead of creating one with a "-e" extension) - set ARCH to i386 in the amd64 case for the acroread7 port. This is a work-around to be able to install everything when a dependency is not already installed (ARCH is read-only in sub-makes, so the dependencies can't change it). This should be removed when the dependencies are fixed or converted to use bsd.linux-rpm.mk. [1] Not objected to by: portmgr (explicit: krion; silence: rest) Maintainer timeout: ~4 months Submitted by: Sangwoo Shim <sangwoos@gmail.com> [1] PR: 87985 [1]
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# New ports collection makefile for: jewel
|
|
# Date created: 2002-05-26
|
|
# Whom: trevor
|
|
# based in part on the aewm++ port by ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jewel
|
|
PORTVERSION= 0.12.40
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://mjr.towers.org.uk/comp/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Window manager based on aewm++
|
|
|
|
ALL_TARGET= jewel
|
|
DOCDIR= share/doc/${PORTNAME}
|
|
DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README
|
|
MAN1= jewel.1x
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
|
|
@${SED} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
|
|
s,^prefix,#prefix,g ; s,prefix,PREFIX,g ; \
|
|
s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" < ${WRKSRC}/Makefile.orig \
|
|
> ${WRKSRC}/Makefile
|
|
|
|
pre-install:
|
|
${ECHO_CMD} bin/jewel > ${PLIST}
|
|
.if !defined(NOPORTDOCS)
|
|
.for ii in ${DOCS}
|
|
${ECHO_CMD} ${DOCDIR}/${ii} >> ${PLIST}
|
|
.endfor
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/jewel ${PREFIX}/bin/jewel
|
|
${INSTALL_MAN} ${WRKSRC}/jewel.1x ${PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
.for ii in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${ii} ${PREFIX}/${DOCDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|