mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Adime is a portable add-on library for Allegro with functions for generating
Allegro dialogs in a very simple way. Its main purpose is to give as easy an API as possible to people who want dialogs for editing many kinds of input data. PR: ports/85165 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
This commit is contained in:
parent
68fa4ad804
commit
92b67b5ed4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142965
8 changed files with 175 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
SUBDIR += adabooch-doc-html
|
||||
SUBDIR += adacurses
|
||||
SUBDIR += adasdl
|
||||
SUBDIR += adime
|
||||
SUBDIR += agenda-headers
|
||||
SUBDIR += agenda-libs
|
||||
SUBDIR += agenda-snow-libs
|
||||
|
|
40
devel/adime/Makefile
Normal file
40
devel/adime/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# New ports collection makefile for: adime
|
||||
# Date Created: 20 Aug 2005
|
||||
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= adime
|
||||
PORTVERSION= 2.2.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= alejandro@varnet.biz
|
||||
COMMENT= Generate Allegro dialogs in a very simple way
|
||||
|
||||
LIB_DEPENDS= alleg.41:${PORTSDIR}/devel/allegro
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
.include "Makefile.man"
|
||||
|
||||
INFO= adime
|
||||
|
||||
MAKEFILE= makefile
|
||||
INSTALL_TARGET= install install-info install-man
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} && ${SH} fix.sh unix)
|
||||
|
||||
post-patch:
|
||||
# Fix Makefile
|
||||
@${REINPLACE_CMD} -e 's|gcc|${CC}| ; \
|
||||
s|%%CFLAGS%%|${CFLAGS}| ; \
|
||||
s|/usr/local|${PREFIX}| ; s|$$(OPT)||' \
|
||||
${WRKSRC}/misc/makefile.uni
|
||||
|
||||
.include <bsd.port.mk>
|
48
devel/adime/Makefile.man
Normal file
48
devel/adime/Makefile.man
Normal file
|
@ -0,0 +1,48 @@
|
|||
MAN3= ADIME_DATE.3 \
|
||||
ADIME_VERSION_MAJOR.3 \
|
||||
ADIME_VERSION_MINOR.3 \
|
||||
ADIME_VERSION_PATCH.3 \
|
||||
adime_bmp.3 \
|
||||
adime_button_font.3 \
|
||||
adime_callback.3 \
|
||||
adime_clean_screen.3 \
|
||||
adime_d_button_proc.3 \
|
||||
adime_d_calc_edit_result_proc.3 \
|
||||
adime_d_check_proc.3 \
|
||||
adime_d_double_calc_edit_proc.3 \
|
||||
adime_d_edit_proc.3 \
|
||||
adime_d_greyable_check_proc.3 \
|
||||
adime_d_int_calc_edit_proc.3 \
|
||||
adime_d_line_proc.3 \
|
||||
adime_d_list_proc.3 \
|
||||
adime_d_multiline_text_proc.3 \
|
||||
adime_d_text_list_proc.3 \
|
||||
adime_d_window_proc.3 \
|
||||
adime_dialogf.3 \
|
||||
adime_double2string.3 \
|
||||
adime_draw_empty_button.3 \
|
||||
adime_draw_picture_button.3 \
|
||||
adime_draw_picture_button_down.3 \
|
||||
adime_draw_text_button.3 \
|
||||
adime_draw_text_button_down.3 \
|
||||
adime_evaluate.3 \
|
||||
adime_exit.3 \
|
||||
adime_file_select.3 \
|
||||
adime_fill_textout.3 \
|
||||
adime_font.3 \
|
||||
adime_init.3 \
|
||||
adime_lowlevel_dialogf.3 \
|
||||
adime_lowlevel_vdialogf.3 \
|
||||
adime_scancode_to_pretty_name.3 \
|
||||
adime_scancode_to_short_name.3 \
|
||||
adime_short_name_to_scancode.3 \
|
||||
adime_title_font.3 \
|
||||
adime_udouble2string.3 \
|
||||
adime_uevaluate.3 \
|
||||
adime_va_arg.3 \
|
||||
adime_va_end.3 \
|
||||
adime_va_list.3 \
|
||||
adime_va_start.3 \
|
||||
adime_vdialogf.3 \
|
||||
adime_window_visible.3 \
|
||||
adime_yield.3
|
2
devel/adime/distinfo
Normal file
2
devel/adime/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (adime-2.2.1.tar.gz) = aa71fbe7661e56421cab42e6bca70c7c
|
||||
SIZE (adime-2.2.1.tar.gz) = 244970
|
28
devel/adime/files/patch-misc-makefile.all
Normal file
28
devel/adime/files/patch-misc-makefile.all
Normal file
|
@ -0,0 +1,28 @@
|
|||
--- misc/makefile.all.orig Sun Sep 5 17:59:45 2004
|
||||
+++ misc/makefile.all Sat Aug 20 13:55:02 2005
|
||||
@@ -185,8 +185,6 @@
|
||||
|
||||
DOCBASEFILES = adime dime internal license readme changes expressi thanks wishlist
|
||||
DOCS = $(addprefix docs/txt/,$(addsuffix .txt,adime internal expressi wishlist))
|
||||
-DOCS += $(addprefix docs/rtf/,$(addsuffix .rtf,$(DOCBASEFILES)))
|
||||
-DOCS += $(addprefix docs/html/,$(addsuffix $(HTML_SUFFIX),$(DOCBASEFILES)))
|
||||
DOCS += license.txt readme.txt changes.txt thanks.txt
|
||||
CHMDOCS = $(addprefix docs/chm/,$(addsuffix $(HTML_SUFFIX),$(DOCBASEFILES)))
|
||||
DEVHELPDOCS = $(addprefix docs/devhelp/,$(addsuffix $(HTML_SUFFIX),$(DOCBASEFILES)))
|
||||
@@ -218,14 +216,14 @@
|
||||
@echo Compiling Adime for $(PLATFORM), $(DESCRIPTION). Please wait.
|
||||
|
||||
all:
|
||||
- $(MAKE) startmsg lib DEBUGMODE=1
|
||||
+ $(MAKE) startmsg lib
|
||||
$(MAKE) startmsg lib examples docs
|
||||
@echo Adime for $(PLATFORM) has been compiled.
|
||||
@echo Run make installall to complete the installation.
|
||||
|
||||
installall:
|
||||
$(MAKE) install
|
||||
- $(MAKE) install DEBUGMODE=1
|
||||
+ $(MAKE) install
|
||||
@echo Both Adime library versions have been installed!
|
||||
|
||||
lib: $(LIB_NAME)
|
45
devel/adime/files/patch-misc-makefile.uni
Normal file
45
devel/adime/files/patch-misc-makefile.uni
Normal file
|
@ -0,0 +1,45 @@
|
|||
--- misc/makefile.uni.orig Fri Sep 10 16:34:54 2004
|
||||
+++ misc/makefile.uni Sat Aug 20 13:45:44 2005
|
||||
@@ -118,16 +118,6 @@
|
||||
WFLAGS = -Wall -Wno-unused
|
||||
endif
|
||||
|
||||
-ifdef PGCC
|
||||
-OFLAGS = -mcpu=pentium -O6 -ffast-math
|
||||
-else
|
||||
-ifdef PENTIUMONLY
|
||||
-OFLAGS = -march=pentium -O2 -funroll-loops -ffast-math
|
||||
-else
|
||||
-OFLAGS = -mcpu=pentium -O2 -funroll-loops -ffast-math
|
||||
-endif
|
||||
-endif
|
||||
-
|
||||
ifdef STATICLINK_ALLEGRO
|
||||
ALLEGRO_CONFIG_FLAGS = --static
|
||||
else
|
||||
@@ -143,13 +133,14 @@
|
||||
else
|
||||
ifdef PROFILEMODE
|
||||
# profiling build
|
||||
-CFLAGS = $(WFLAGS) $(OFLAGS) -pg
|
||||
+CFLAGS = $(WFLAGS) -pg
|
||||
SFLAGS = $(WFLAGS)
|
||||
LFLAGS += -pg
|
||||
LIB_FLAGS = `allegro-config --libs profile $(ALLEGRO_CONFIG_FLAGS)`
|
||||
else
|
||||
# optimised build
|
||||
-CFLAGS = $(WFLAGS) $(OFLAGS) -fomit-frame-pointer -fno-strength-reduce
|
||||
+OPT = -O2 -ffast-math -fomit-frame-pointer -fno-strength-reduce
|
||||
+CFLAGS = %%CFLAGS%% $(WFLAGS) -fPIC $(OPT) `allegro-config --cflags`
|
||||
SFLAGS = $(WFLAGS)
|
||||
ifndef SYMBOLMODE
|
||||
LFLAGS += -s
|
||||
@@ -168,7 +159,7 @@
|
||||
CFLAGS += -D_ADIME_FORTIFY=1 -DFORTIFY
|
||||
endif
|
||||
|
||||
-CFLAGS_NO_OPTIMIZE = $(WFLAGS)
|
||||
+CFLAGS_NO_OPTIMIZE = $(WFLAGS) -fPIC `allegro-config --cflags`
|
||||
|
||||
COMPILE_FLAGS = $(subst src/,-DADIME_SRC ,$(findstring src/, $<))$(CFLAGS)
|
||||
COMPILE_FLAGS_NO_OPTIMIZE = $(subst src/,-DADIME_SRC ,$(findstring src/, $<))$(CFLAGS_NO_OPTIMIZE)
|
6
devel/adime/pkg-descr
Normal file
6
devel/adime/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
Adime is a portable add-on library for Allegro with functions for generating
|
||||
Allegro dialogs in a very simple way. Its main purpose is to give as easy an
|
||||
API as possible to people who want dialogs for editing many kinds of input
|
||||
data.
|
||||
|
||||
WWW: http://adime.sourceforge.net/
|
5
devel/adime/pkg-plist
Normal file
5
devel/adime/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
include/adime.h
|
||||
include/adime/adimecfg.h
|
||||
include/adime/adimeint.h
|
||||
lib/libadime.so
|
||||
@dirrm include/adime
|
Loading…
Add table
Reference in a new issue