60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
33 lines
820 B
Makefile
33 lines
820 B
Makefile
# Created by: jasone
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cook
|
|
PORTVERSION= 2.30
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://miller.emu.id.au/pmiller/software/cook/ \
|
|
LOCAL/jasone
|
|
|
|
MAINTAINER= jasone@FreeBSD.org
|
|
COMMENT= Like make(1), but more powerful and clean
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= YACC=yacc
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USES= gettext perl5
|
|
DESTDIRNAME= RPM_BUILD_ROOT
|
|
|
|
# Make sure that the whole directory tree exists.
|
|
pre-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/cook/en/man1
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/cook/en/LC_MESSAGES
|
|
|
|
# cook installs extra copies of the manpages in a directory that MANLANG can't
|
|
# cope with. Delete the extra copies.
|
|
post-install:
|
|
@${RM} -rf ${STAGEDIR}${PREFIX}/share/cook/en/man1
|
|
|
|
.include <bsd.port.mk>
|