Skip to content

Commit

Permalink
lang/intercal: update to 0.32
Browse files Browse the repository at this point in the history
 - move WWW to new home
 - obey CC, even at runtime

Changelog: https://gitlab.com/esr/intercal/-/blob/master/NEWS
  • Loading branch information
clausecker committed Feb 10, 2024
1 parent 173b2c2 commit ea84393
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 22 deletions.
13 changes: 5 additions & 8 deletions lang/intercal/Makefile
@@ -1,23 +1,20 @@
PORTNAME= intercal
PORTVERSION= 0.31
PORTVERSION= 0.32
CATEGORIES= lang
MASTER_SITES= http://www.catb.org/~esr/intercal/

MAINTAINER= fuz@FreeBSD.org
COMMENT= C-INTERCAL compiler, ick, and supporting libraries
WWW= http://www.catb.org/~esr/intercal/
WWW= https://gitlab.com/esr/intercal

LICENSE= GPLv2

USES= gmake
USES= autoreconf gmake
GNU_CONFIGURE= yes
CFLAGS+= -D_POSIX_C_SOURCE=200809L
CPPFLAGS+= -DCC='\"${CC}\"'
DATADIR= ${PREFIX}/share/ick

INFO= ick

post-patch:
@${REINPLACE_CMD} -e '/ICK_SPECIFIC_SUBDIR/s/-@PACKAGE_VERSION@// ' \
${WRKSRC}/buildaux/Makefile.in
TEST_TARGET= check

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions lang/intercal/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1611593892
SHA256 (intercal-0.31.tar.gz) = 93d842b81ecdc82b352beb463fbf688749b0c04445388a999667e1958bba4ffc
SIZE (intercal-0.31.tar.gz) = 940950
TIMESTAMP = 1707470595
SHA256 (intercal-0.32.tar.gz) = a3c1e0a7ac591f78b7f5af42fdc6ae7d2a02981b7862c0320d3537beb54dfd78
SIZE (intercal-0.32.tar.gz) = 960879
20 changes: 20 additions & 0 deletions lang/intercal/files/patch-buildaux_Makefile.am
@@ -0,0 +1,20 @@
--- buildaux/Makefile.am.orig 2024-02-08 13:40:49 UTC
+++ buildaux/Makefile.am
@@ -1,15 +1,14 @@
# SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com>
# SPDX-License-Identifier: GPL-2.0-or-later

-ICK_SPECIFIC_SUBDIR = ick-@PACKAGE_VERSION@
+ICK_SPECIFIC_SUBDIR = ick
ickincludedir = $(includedir)/$(ICK_SPECIFIC_SUBDIR)
ickdatadir = $(datadir)/$(ICK_SPECIFIC_SUBDIR)

AM_CFLAGS = '-DICKINCLUDEDIR="$(ickincludedir)"' \
'-DICKDATADIR="$(ickdatadir)"' \
'-DICKBINDIR="$(bindir)"' '-DICKLIBDIR="$(libdir)"' \
- -DYYDEBUG -DICK_HAVE_STDINT_H=@HAVE_STDINT_H@ \
- -fno-toplevel-reorder
+ -DYYDEBUG -DICK_HAVE_STDINT_H=@HAVE_STDINT_H@
AM_CPPFLAGS = -I$(srcdir)/src

bin_PROGRAMS = ick convickt
11 changes: 0 additions & 11 deletions lang/intercal/files/patch-src_perpet.c

This file was deleted.

0 comments on commit ea84393

Please sign in to comment.